aboutsummaryrefslogtreecommitdiff
path: root/libraries/Firmata/examples/EchoString
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2009-07-14 21:32:55 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2009-07-14 21:32:55 +0000
commit3f5220e4549900f1d1dd768ca204b34625ca9558 (patch)
treee9d4b6ea8b3c0f36b55c7e8c96c3540fb53dbe20 /libraries/Firmata/examples/EchoString
parent17dd73977743e4a15f968bdcf0093c58ca65196d (diff)
Updating to Firmata-2.1beta1 (rev 23).
Diffstat (limited to 'libraries/Firmata/examples/EchoString')
-rw-r--r--libraries/Firmata/examples/EchoString/EchoString.pde4
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()