M5TimerCam: add LED_BUILTIN & SS/MOSI/MISO/SCK (#4560)
This commit is contained in:
parent
97dcea2b99
commit
18832bb418
@ -11,12 +11,20 @@
|
|||||||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||||
#define digitalPinHasPWM(p) (p < 34)
|
#define digitalPinHasPWM(p) (p < 34)
|
||||||
|
|
||||||
|
static const uint8_t LED_BUILTIN = 2;
|
||||||
|
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||||
|
|
||||||
static const uint8_t TX = 1;
|
static const uint8_t TX = 1;
|
||||||
static const uint8_t RX = 3;
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
static const uint8_t SDA = 4;
|
static const uint8_t SDA = 4;
|
||||||
static const uint8_t SCL = 13;
|
static const uint8_t SCL = 13;
|
||||||
|
|
||||||
|
static const uint8_t SS = 5;
|
||||||
|
static const uint8_t MOSI = 23;
|
||||||
|
static const uint8_t MISO = 19;
|
||||||
|
static const uint8_t SCK = 18;
|
||||||
|
|
||||||
static const uint8_t G23 = 23;
|
static const uint8_t G23 = 23;
|
||||||
static const uint8_t G25 = 25;
|
static const uint8_t G25 = 25;
|
||||||
static const uint8_t G27 = 27;
|
static const uint8_t G27 = 27;
|
||||||
|
Loading…
Reference in New Issue
Block a user