I have coded a simple bedside clock (no need for alarms - I'm retired) using Mega Pro Mini, an BME280, a DS3213 and a SH1106 display.
Why the Mega - the fonts take up all memory.
This device has 2 buttons - the first ,turns times the screen off and on (the code automatically turns the screen back on at 6am) and the 2nd powers off & on a MP3 device (playing hours of rain). The MP3 turns off automatically at 12pm but it can be toggled to stay on longer.
I have included the working code below.
I hate buttons to set the time! I want to be able to use a cellphone and it's Bluetooth capability via a Terminal app to update the clocks time when needed. I don't want to use WiFi because the network conditions may change (like when I move into a rest home [joke]).
So the code needs to be wrapped in the Bluetooth script and if anything pairs with it, it springs into a (yet unknown) a routine to update the clock. Help doing this would be much appreciated. I have 05 & 06 bt modules.