/* This sketch accepts strings and raw sysex messages and echos them back. * * This example code is in the public domain. */ #include byte analogPin; void stringCallback(char *myString) { Firmata.sendString(myString); } void sysexCallback(byte command, byte argc, byte*argv) { Serial.print(START_SYSEX, BYTE); Serial.print(command, BYTE); for(byte i=0; i