Last test was made be me with LFD080AAG-103 led display, who is with common anode:
and 2 buttons for adjust clock and data
Sketch multiplexed_scroll_clock3.ino made a clock who has next informations:
- clock, with flash led for beat seconds, about 10 seconds
- temperature, about 2,5 seconds
- relavive humidity for air, about 2,5 seconds
- data (day and mounts), about 2,5 secods
If is pushed MENU button, clock enter in adjusting mode, first for hour, so, you will see hour flashing and can be increase value by pushing + button, but if hour is 23 and + button is pushed, value for hour is 00...
If is pushed again MENU button, clock enter in adjusting mode for minutes, so, you will see minutes flashing and can be increase value by pushing + button, but if minutes are 59 and + button is pushed, value for minutes are 00...
Next push of MENU button go to year changes, from 2018 to 2049
After that, if push again MENU button, you can change month (1 to 12)
and if push again on MENu button you can change day of month (just day flash)
After a new push of MENU button, system enter in clock mode (normal mode).
I made a movie for see how clock show the datas and how can be changes clock and data:
Note: Schematic work for small led display with common anode
Base schematic is similar
If you want to see in night just clock and temperature, when is day all informations (clock, temperature, relative humidity and data) you must upload sketch multiplexed_scroll_clock3a.ino !