Skip to content

Commit

Permalink
Changed Arduino Feather ESP32 pinout
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Apr 24, 2023
1 parent fc24c9b commit ae25442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@
#elif defined(ARDUINO_FEATHER_ESP32)
// https://github.com/espressif/arduino-esp32/blob/master/variants/feather_esp32/pins_arduino.h
#define INTERFACE_SEL 13 // Modbus interface select (0: USB / 1: RS485)
#define MAX485_DE 14 // D1, DE pin on the TTL to RS485 converter
#define MAX485_DE 4 // D1, DE pin on the TTL to RS485 converter
#define MAX485_RE_NEG 15 // D2, RE pin on the TTL to RS485 converter
#define MAX485_RX 22 // D5, RO pin on the TTL to RS485 converter
#define MAX485_TX 23 // D6, DI pin on the TTL to RS485 converter
#define DEBUG_TX 17 // Serial port output to USB converter (optional)
#define DEBUG_RX 16 // Serial port input from USB converter (n.c.)
#define DEBUG_TX 12 // Serial port output to USB converter (optional)
#define DEBUG_RX 21 // Serial port input from USB converter (n.c.)

#else
// for generic CI target ESP32:ESP32:ESP32
Expand Down

0 comments on commit ae25442

Please sign in to comment.