Skip to content

Commit 18832bb

Browse files
M5TimerCam: add LED_BUILTIN & SS/MOSI/MISO/SCK (#4560)
1 parent 97dcea2 commit 18832bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: variants/m5stack_timer_cam/pins_arduino.h

+8
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,20 @@
1111
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
1212
#define digitalPinHasPWM(p) (p < 34)
1313

14+
static const uint8_t LED_BUILTIN = 2;
15+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
1417
static const uint8_t TX = 1;
1518
static const uint8_t RX = 3;
1619

1720
static const uint8_t SDA = 4;
1821
static const uint8_t SCL = 13;
1922

23+
static const uint8_t SS = 5;
24+
static const uint8_t MOSI = 23;
25+
static const uint8_t MISO = 19;
26+
static const uint8_t SCK = 18;
27+
2028
static const uint8_t G23 = 23;
2129
static const uint8_t G25 = 25;
2230
static const uint8_t G27 = 27;

0 commit comments

Comments
 (0)