I need a code that would allow me to take the input from a button press and log the date and time of the press in a .csv file that I could export to excel. Is this possible? I am also using a RTC if that changes anything?
I'm a beginner and I don't know where to start with this. I'm using thonny and have managed to get the button presses to register but cant get it to translate to a file store system.