reboot command, fix for pincounts

Added a reboot command
Fix for overflow on pincount eeprom read / write