show date on 7-segments display
This commit is contained in:
parent
8e4b84f803
commit
bb1b82751f
3
main.c
3
main.c
|
@ -249,6 +249,9 @@ void main(void)
|
|||
led_max7219_test(false); // go back in normal operation
|
||||
led_max7219_off(); // switch display off
|
||||
printf("OK\n");
|
||||
|
||||
led_max7219_number(20000000+rtc_ds1307_time[6]*10000+rtc_ds1307_time[5]*100+rtc_ds1307_time[4]+2, 0x14); // display date on 7-segments display
|
||||
led_max7219_on(); // switch display on
|
||||
|
||||
// main loop
|
||||
printf("command input: ready\n");
|
||||
|
|
Loading…
Reference in New Issue