![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
Diff: PsiSwarm/eprom.cpp
- Revision:
- 2:a6214fd156ff
- Parent:
- 1:f6356cf1cefc
- Child:
- 6:ff3c66f7372b
--- a/PsiSwarm/eprom.cpp Sat Oct 03 23:09:10 2015 +0000 +++ b/PsiSwarm/eprom.cpp Mon Oct 05 14:42:16 2015 +0000 @@ -78,7 +78,7 @@ { char address_array [2] = {255,0}; primary_i2c.write(EEPROM_ADDRESS, address_array, 2, false); - primary_i2c.read(EEPROM_ADDRESS, firmware_bytes, 20, false); + primary_i2c.read(EEPROM_ADDRESS, firmware_bytes, 21, false); if(firmware_bytes[0] == PSI_BYTE) { // Parse firmware