We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92436d commit 611e9f8Copy full SHA for 611e9f8
examples/StandardFirmata/StandardFirmata.ino
@@ -677,7 +677,16 @@ void setup()
677
Firmata.attach(START_SYSEX, sysexCallback);
678
Firmata.attach(SYSTEM_RESET, systemResetCallback);
679
680
+ // to use a port other than Serial, such as Serial1 on an Arduino Leonardo or Mega,
681
+ // Call begin(baud) on the alternate serial port and pass it to Firmata to begin like this:
682
+ // Serial1.begin(57600);
683
+ // Firmata.begin(Serial1);
684
+ // then comment out or remove lines 701 - 704 below
685
+
686
Firmata.begin(57600);
687
+ while (!Serial) {
688
+ ; // wait for serial port to connect. Only needed for ATmega32u4-based boards (Leonardo, etc).
689
+ }
690
systemResetCallback(); // reset to default config
691
}
692
0 commit comments