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 67c293d

Browse filesBrowse files
TTGO T-OI-Plus: pins LED_BUILTIN & BAT_ADC_PIN (espressif#7241)
1 parent 37cbaec commit 67c293d
Copy full SHA for 67c293d

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎variants/ttgo-t-oi-plus/pins_arduino.h

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