diff options
Diffstat (limited to 'libraries/Firmata/examples/EchoString/EchoString.pde')
-rw-r--r-- | libraries/Firmata/examples/EchoString/EchoString.pde | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Firmata/examples/EchoString/EchoString.pde b/libraries/Firmata/examples/EchoString/EchoString.pde index ed13ad8..6559ae1 100644 --- a/libraries/Firmata/examples/EchoString/EchoString.pde +++ b/libraries/Firmata/examples/EchoString/EchoString.pde @@ -25,9 +25,9 @@ void sysexCallback(byte command, byte argc, byte*argv) void setup() { Firmata.setFirmwareVersion(0, 1); - Firmata.attach(FIRMATA_STRING, stringCallback); + Firmata.attach(STRING_DATA, stringCallback); Firmata.attach(START_SYSEX, sysexCallback); - Firmata.begin(); + Firmata.begin(57600); } void loop() |