Button that records the time you press it
* Thanks for the source code and project information provided by @Inaba
Video
Displays the time the switch was pressed.
Connect the switch to G33 (HY2.0-4P of M5CoreInk).
The idea is to put it over a device switch like this and record the last time it was pressed.
Development Platform
System configuration
When the button is pressed, it wakes up from deep sleep and displays the date and time. After displaying, it goes into deep sleep again and waits for the next button press.
The button is pressed to wake up from deep sleep and display the date and time of the pressed button. After displaying, it goes into deep sleep and waits for the next button press.
Background
Since I don't have a good memory and forget whether I started the dishwasher or not, I added a function to record the time when I pressed the button.
I am satisfied with the simple mechanism of just sticking it on top of the button.
In the future, I hope to be able to support buttons of various shapes.
Code
https://github.com/hollyhockberry/ClickTimeRecorder