diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2009-07-14 21:32:55 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2009-07-14 21:32:55 +0000 |
commit | 3f5220e4549900f1d1dd768ca204b34625ca9558 (patch) | |
tree | e9d4b6ea8b3c0f36b55c7e8c96c3540fb53dbe20 /libraries/Firmata/examples/EchoString | |
parent | 17dd73977743e4a15f968bdcf0093c58ca65196d (diff) |
Updating to Firmata-2.1beta1 (rev 23).
Diffstat (limited to 'libraries/Firmata/examples/EchoString')
-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() |