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 e302a68

Browse filesBrowse files
cyberman54me-no-dev
authored andcommitted
Board T-Beam: Update pins_arduino.h (espressif#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
Copy full SHA for e302a68

File tree

Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed

‎variants/t-beam/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/t-beam/pins_arduino.h
+8-5Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@
1919
#define LORA_RST 23 // GPIO23 - SX1276 RST
2020
#define LORA_IRQ 26 // GPIO26 - SX1276 IO0
2121
#define LORA_IO0 LORA_IRQ // alias
22-
#define LORA_IO1 33 // GPIO33 - SX1276 IO1
23-
#define LORA_IO2 32 // GPIO32 - SX1276 IO2
22+
#define LORA_IO1 33 // GPIO33 - SX1276 IO1 -> wired on pcb AND connected to header pin LORA1
23+
#define LORA_IO2 32 // GPIO32 - SX1276 IO2 -> wired on pcb AND connected to header pin LORA2
24+
25+
static const uint8_t KEY_BUILTIN = 39;
26+
27+
static const uint8_t LED_BUILTIN = 14;
28+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
2429

2530
static const uint8_t TX = 1;
2631
static const uint8_t RX = 3;
@@ -45,9 +50,7 @@ static const uint8_t A11 = 0;
4550
static const uint8_t A12 = 2;
4651
static const uint8_t A14 = 13;
4752
static const uint8_t A16 = 14;
48-
static const uint8_t A17 = 27; //lora
4953
static const uint8_t A18 = 25;
50-
static const uint8_t A19 = 26; //lora
5154

5255
static const uint8_t T0 = 4;
5356
static const uint8_t T1 = 0;
@@ -57,6 +60,6 @@ static const uint8_t T6 = 14;
5760
static const uint8_t T8 = 33;
5861
static const uint8_t T9 = 32;
5962

60-
static const uint8_t DAC2 = 26;
63+
static const uint8_t DAC1 = 25;
6164

6265
#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.