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"
8787// DotStar LED
8888#define INTERNAL_DS_DATA 3
8989#define INTERNAL_DS_CLK 4
90+ #define PIN_DOTSTAR_DATA 3
91+ #define PIN_DOTSTAR_CLK 4
92+ #define DOTSTAR_NUM 1
9093
9194/*
9295 * Analog pins
Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ extern "C"
8080#define PIN_LED_13 (13u)
8181#define PIN_LED PIN_LED_13
8282#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
8387
8488/*
8589 * Analog pins
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ extern "C"
8484#define PIN_LED_13 (13u)
8585#define PIN_LED PIN_LED_13
8686#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
8791
8892/*
8993 * Analog pins
@@ -137,7 +141,7 @@ static const uint8_t ATN = PIN_ATN;
137141#define PAD_SPI_TX SPI_PAD_0_SCK_1
138142#define PAD_SPI_RX SERCOM_RX_PAD_3
139143
140- static const uint8_t SS = PIN_A2 ;
144+ static const uint8_t SS = PIN_A2 ;
141145static const uint8_t MOSI = PIN_SPI_MOSI ;
142146static const uint8_t MISO = PIN_SPI_MISO ;
143147static const uint8_t SCK = PIN_SPI_SCK ;
Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ extern "C"
8787// DotStar LED
8888#define INTERNAL_DS_DATA 7
8989#define INTERNAL_DS_CLK 8
90+ #define PIN_DOTSTAR_DATA 7
91+ #define PIN_DOTSTAR_CLK 8
92+ #define DOTSTAR_NUM 1
9093
9194/*
9295 * Analog pins
You can’t perform that action at this time.
0 commit comments