This version has major fixes to the .ino code for sparki over the previous version, and should be used in favor of all other versions. Since the previous version, I switched to the newest Sparkiduino compiler, which also has upgrades from the Arduino compiler. The differences in versions freed up some storage space and allowed me to add commands to the API.
Issues fixed since the last release:
- motors() should be fixed for all users of the robot (several other commands were fixed due to the same issue)
- motors() should accept a float value for time instead of truncating to an int
- bug in setSparkiDebug() fixed
- waitForSync() should timeout sooner than it did previously
Commands added since the last release:
- EEPROMread() and EEPROMwrite() -- allow reading and writing to the EEPROM on the processor
- LCDdrawLine(), LCDdrawString(), LCDreadPixel() -- respectively, draws a line on the LCD, draws a string on the LCD, and returns True if a pixel on the LCD is colored in
- start_sync_server() and start_sync_client -- begins a server and client, respectively, to synchronize actions over the network
Known issues:
- It appears that the RGB command on the sparki is flaky when the red component is equal to the blue and green
- The battery voltage is being reported too low -- lower than it actually is. I believe this to be an issue with an underlying library