Skip to content

Commit 67c293d

Browse files
TTGO T-OI-Plus: pins LED_BUILTIN & BAT_ADC_PIN (#7241)
1 parent 37cbaec commit 67c293d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: variants/ttgo-t-oi-plus/pins_arduino.h

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
1212
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
1313

14+
static const uint8_t LED_BUILTIN = 3;
15+
1416
static const uint8_t TX = 21;
1517
static const uint8_t RX = 20;
1618

@@ -26,4 +28,6 @@ static const uint8_t A1 = 2;
2628
static const uint8_t A2 = 4;
2729
static const uint8_t A3 = 5;
2830

31+
static const uint8_t BAT_ADC_PIN = 2;
32+
2933
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)