We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3350476 commit 489feb8Copy full SHA for 489feb8
variants/bpi-bit/pins_arduino.h
@@ -56,7 +56,7 @@ static const uint8_t P16 = 5;
56
static const uint8_t P19 = 22;
57
static const uint8_t P20 = 21;
58
59
-static const uint8_t DAC1 = 26;
60
-static const uint8_t DAC2 = 25;
+static const uint8_t DAC1 = 25;
+static const uint8_t DAC2 = 26;
61
62
-#endif /* Pins_Arduino_h */
+#endif /* Pins_Arduino_h */
variants/t-beam/pins_arduino.h
@@ -54,9 +54,9 @@ static const uint8_t T1 = 0;
54
static const uint8_t T2 = 2;
55
static const uint8_t T4 = 13;
static const uint8_t T6 = 14;
-static const uint8_t T8 = 32;
-static const uint8_t T9 = 33;
+static const uint8_t T8 = 33;
+static const uint8_t T9 = 32;
#endif /* Pins_Arduino_h */
@OttoWinter There is no GPIO26 pin on TTGO T-Beam boards, only GPIO25 is wired to a pin, it's pin nr. 6 in header connector U12.
ESP32 has two 8-bit DAC, connected to GPIO25 (Channel 1) and GPIO26 (Channel 2).
So for T-Beam board we have DAC1 = 25 and no DAC2.
1 commit comments
cyberman54 commentedon Jan 22, 2019
@OttoWinter There is no GPIO26 pin on TTGO T-Beam boards, only GPIO25 is wired to a pin, it's pin nr. 6 in header connector U12.
ESP32 has two 8-bit DAC, connected to GPIO25 (Channel 1) and GPIO26 (Channel 2).
So for T-Beam board we have DAC1 = 25 and no DAC2.