M5TimerCam: add LED_BUILTIN & SS/MOSI/MISO/SCK (#4560)

This commit is contained in:
FedericoBusero 2020-11-23 13:21:58 +01:00 committed by GitHub
parent 97dcea2b99
commit 18832bb418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,12 +11,20 @@
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#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 RX = 3;
static const uint8_t SDA = 4;
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 G25 = 25;
static const uint8_t G27 = 27;