First; I can track accumulated minutes daily, accumulated minutes monthly, and yearly, problem arises when I reset accumulated minutes for current month to zero. Total accumulated minutes for year also resets
Normal operation; minutes accumate for every push of button in the 4N25 Opto Isolator schematic Upon newDay function occurring, Serial Monitor displays totals for day, month, and year. Totals are also available on LAN for viewing. Since newday would only occurs every 24 hours; I have implemented a counter to call newDay function.
William
Attachments
(42.19 KiB) Downloaded 211 times