Arduino DS1302 & creating interupt for updating display
I am building an clock with an arduino UNO & DS1302 RTC & some neopixels, got it working mostly but I cannot seem to implment a interupt that will update the time only when it has changed.
I have tried a few methods but with no luck, but none of which address the flow, its impossible to keep checking & sometimes even when I do seconds are missed here & there so an interupt is the best way
Does anyone have any examples of a working interupts I can modifyt to work with RTC, I simply want to trigger the update time function when the DS1302 sends trigger, then I can go about my sketch & let the interupt handle it
I havent had much luck reading the pulse either, I can read the time, set the time & all that but I havent been able to set/verify its bytes, theres one for example that sets "trickle_charger" I can disable , but I havent been able to read the byte to verify if its 1 or 0
any help would be great,