Skip to content

Commit 3b74027

Browse files
committed
Added defines for SD CARD pins
1 parent 2d6acc3 commit 3b74027

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

variants/mysensors_gw/variant.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ static const uint8_t SCK = PIN_SPI_SCK ;
238238
#define MYSX_A2 (15ul)
239239
#define MYSX_SPI SPI2
240240

241+
/*
242+
* Onboard hardware
243+
*/
244+
241245
#define MY_SIGNING_ATSHA204_PIN (17ul)
242246
#define MY_HW_ERR_LED_PIN LED_RED
243247
#define MY_HW_RX_LED_PIN LED_YELLOW
@@ -248,6 +252,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
248252
#define MY_RF24_CE_PIN (34ul)
249253
#define MY_RF24_CS_PIN (29ul)
250254
#define MY_RF24_IRQ_PIN (31ul)
255+
#define MY_SDCARD_DETECT (35ul)
256+
#define MY_SDCARD_CS (33ul)
251257

252258
/*----------------------------------------------------------------------------
253259
* Arduino objects - C++ only

0 commit comments

Comments
 (0)