DS1302 and datalogger - logging time when button pressed
xanatos
Posts: 1,120
I'm playing with the DS1302 and the datalogger, running on a BS2sx. ·I have both running OK, but I'm trying to make them work together - has anyone created any kind of project that would simply log the date/time to the datalogger USB drive whenever a button is pressed - and would you be willing to share your code on that?
Thanks very much!
Dave X
·
Thanks very much!
Dave X
·
Comments
The burst read was done in the subroutine called Get_data , I changed it out for something simpler when I posted it thinking that not everyone would have access to the 1302.
The actual DS1302 code that I used was the example available on the DS1302 product page.
I didn't use a button but that would be a simple addition.
Jeff T.
Dave X.