Skip to content

Commit e302a68

Browse files
cyberman54me-no-dev
authored andcommitted
Board T-Beam: Update pins_arduino.h (#2380)
* Board T-Beam: Update pins_arduino.h DAC2 is not wired, only DAC1 is -> corrected LORA pins 27 + 19 are only wired on pcb, but not connected to header -> deleted * Update pins_arduino.h Button and LED added
1 parent aa2393b commit e302a68

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

variants/t-beam/pins_arduino.h

+8-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@
1919
#defineLORA_RST 23 // GPIO23 - SX1276 RST
2020
#defineLORA_IRQ 26 // GPIO26 - SX1276 IO0
2121
#defineLORA_IO0 LORA_IRQ // alias
22-
#defineLORA_IO1 33 // GPIO33 - SX1276 IO1
23-
#defineLORA_IO2 32 // GPIO32 - SX1276 IO2
22+
#defineLORA_IO1 33 // GPIO33 - SX1276 IO1 -> wired on pcb AND connected to header pin LORA1
23+
#defineLORA_IO2 32 // GPIO32 - SX1276 IO2 -> wired on pcb AND connected to header pin LORA2
24+
25+
staticconstuint8_tKEY_BUILTIN=39;
26+
27+
staticconstuint8_tLED_BUILTIN=14;
28+
#defineBUILTIN_LED LED_BUILTIN // backward compatibility
2429

2530
staticconstuint8_tTX=1;
2631
staticconstuint8_tRX=3;
@@ -45,9 +50,7 @@ static const uint8_t A11 = 0;
4550
staticconstuint8_tA12=2;
4651
staticconstuint8_tA14=13;
4752
staticconstuint8_tA16=14;
48-
staticconstuint8_tA17=27; //lora
4953
staticconstuint8_tA18=25;
50-
staticconstuint8_tA19=26; //lora
5154

5255
staticconstuint8_tT0=4;
5356
staticconstuint8_tT1=0;
@@ -57,6 +60,6 @@ static const uint8_t T6 = 14;
5760
staticconstuint8_tT8=33;
5861
staticconstuint8_tT9=32;
5962

60-
staticconstuint8_tDAC2=26;
63+
staticconstuint8_tDAC1=25;
6164

6265
#endif/* Pins_Arduino_h */

0 commit comments

Comments
 (0)
close