Skip to content

Commit

Permalink
If anyone ever wants to run a SABERTOOTH motor controller from a Mega…
Browse files Browse the repository at this point in the history
…2560
  • Loading branch information
habazut committed Sep 7, 2024
1 parent b026417 commit b53384a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SerialManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ void SerialManager::init() {
#ifdef SABERTOOTH
#ifdef ARDUINO_ARCH_ESP32
Serial2.begin(9600, SERIAL_8N1, 16, 17); // GPIO 16 RXD2; GPIO 17 TXD2 on ESP32
#else
Serial2.begin(9600);
#endif
#endif
}
Expand Down

0 comments on commit b53384a

Please sign in to comment.