%H didn't work; used %d.  Added EEPROM write too