File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ extern "C"
87
87
// DotStar LED
88
88
#define INTERNAL_DS_DATA 3
89
89
#define INTERNAL_DS_CLK 4
90
+ #define PIN_DOTSTAR_DATA 3
91
+ #define PIN_DOTSTAR_CLK 4
92
+ #define DOTSTAR_NUM 1
90
93
91
94
/*
92
95
* Analog pins
Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ extern "C"
80
80
#define PIN_LED_13 (13u)
81
81
#define PIN_LED PIN_LED_13
82
82
#define LED_BUILTIN PIN_LED_13
83
+ // DotStar LED
84
+ #define PIN_DOTSTAR_DATA 41
85
+ #define PIN_DOTSTAR_CLK 40
86
+ #define DOTSTAR_NUM 1
83
87
84
88
/*
85
89
* Analog pins
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ extern "C"
84
84
#define PIN_LED_13 (13u)
85
85
#define PIN_LED PIN_LED_13
86
86
#define LED_BUILTIN PIN_LED_13
87
+ // DotStar LED
88
+ #define PIN_DOTSTAR_DATA 8
89
+ #define PIN_DOTSTAR_CLK 6
90
+ #define DOTSTAR_NUM 1
87
91
88
92
/*
89
93
* Analog pins
@@ -137,7 +141,7 @@ static const uint8_t ATN = PIN_ATN;
137
141
#define PAD_SPI_TX SPI_PAD_0_SCK_1
138
142
#define PAD_SPI_RX SERCOM_RX_PAD_3
139
143
140
- static const uint8_t SS = PIN_A2 ;
144
+ static const uint8_t SS = PIN_A2 ;
141
145
static const uint8_t MOSI = PIN_SPI_MOSI ;
142
146
static const uint8_t MISO = PIN_SPI_MISO ;
143
147
static const uint8_t SCK = PIN_SPI_SCK ;
Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ extern "C"
87
87
// DotStar LED
88
88
#define INTERNAL_DS_DATA 7
89
89
#define INTERNAL_DS_CLK 8
90
+ #define PIN_DOTSTAR_DATA 7
91
+ #define PIN_DOTSTAR_CLK 8
92
+ #define DOTSTAR_NUM 1
90
93
91
94
/*
92
95
* Analog pins
You can’t perform that action at this time.
0 commit comments