Implemented eeprom based tick counting for dispensers