Skip to content

Commit

Permalink
Use the new UART2 pins for RC by default
Browse files Browse the repository at this point in the history
To make it consistent with the documentation
  • Loading branch information
okalachev committed Nov 27, 2024
1 parent a65ec94 commit 048a3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flix/rc.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
int channelNeutral[] = {995, 883, 200, 972, 512, 512, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
int channelMax[] = {1651, 1540, 1713, 1630, 1472, 1472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

SBUS RC(Serial2, 16, 17); // NOTE: remove pin numbers (16, 17) if you use the new default pins for Serial2 (4, 25)
SBUS RC(Serial2); // NOTE: Use RC(Serial2, 16, 17) if you use the old UART2 pins

void setupRC() {
Serial.println("Setup RC");
Expand Down

0 comments on commit 048a3c6

Please sign in to comment.