Hi, I have an Arduino Duemilanove and the Arduino 0018 platform running on Windows 7. I'm trying to get the Firmata examples to run, but I always get an error trying to compile the simplest sketch using the Firmata library. It would appear that this is some kind of classpath issue of sorts, where the Arduino environment isn't able to locate the Firmata code, but I would think that in that event I'd see a different error message. Any thoughts on how to troubleshoot this?
Thanks in advance!
The code below yields the error:
In function 'void setup()': error: 'class FirmataClass' has no member named 'setFirmwareVersion' In function 'void loop()':
Hmm, interesting. I also see a macro declaration further down the header file that looks like it should alias the setFirmwareNameAndVersion function to the setFirmwareName function:
/* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
* firmware name. It needs to be a macro so that __FILE__ is included in the
* firmware source file rather than the library source file.
*/
#define setFirmwareVersion(x, y) setFirmwareNameAndVersion(__FILE__, x, y)
Doesn't seem right to me that they'd just change the method signature of such a vital method without providing some sort of backwards compatibility, but maybe there was a good reason... will investigate further.