TTGO T-OI-Plus: pins LED_BUILTIN & BAT_ADC_PIN (#7241)
This commit is contained in:
parent
37cbaeccb7
commit
67c293dc72
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,8 @@
|
|||
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
|
||||
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
|
||||
|
||||
static const uint8_t LED_BUILTIN = 3;
|
||||
|
||||
static const uint8_t TX = 21;
|
||||
static const uint8_t RX = 20;
|
||||
|
||||
|
|
@ -26,4 +28,6 @@ static const uint8_t A1 = 2;
|
|||
static const uint8_t A2 = 4;
|
||||
static const uint8_t A3 = 5;
|
||||
|
||||
static const uint8_t BAT_ADC_PIN = 2;
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
|
|
|
|||
Loading…
Reference in a new issue