I am dying here and cant sleep thinking about this project. I am a PLC Programmer with no C++ experience except for my recent attempt to write it to arduino.sketch. I have downloaded the "flow meter" sketch from Jaycar. I have been able to make minor changes to make it do what I want. The only problem is, I do not want to lose my total litres count if the power cycles. The count will only be 2 digits or less. I need to integrate the library EEPROMEX into the sketch to retain the count in memory (without wearing out the eeprom by using the eepromex to increment to the next memory location each time it backs up as per http://thijs.elenbaas.net/). I am only using milliLitresA and have illiminated B. I have tried a million times to insert this logic without any luck. Can anyone help me write this correctly? I dont know how to post the file for the modified sketch of this project. Thanks for any help