Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18832bb

Browse filesBrowse files
M5TimerCam: add LED_BUILTIN & SS/MOSI/MISO/SCK (espressif#4560)
1 parent 97dcea2 commit 18832bb
Copy full SHA for 18832bb

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎variants/m5stack_timer_cam/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/m5stack_timer_cam/pins_arduino.h
+8Lines changed: 8 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.