rtc example with tm1637 driver
[cortex-from-scratch] / main.c
diff --git a/main.c b/main.c
index 51c2b10..da28711 100644 (file)
--- a/main.c
+++ b/main.c
@@ -67,12 +67,12 @@ void main()
 //     run();
 
        led_init();
-       eeprom_at24c_init();
-       eeprom_test();
-//     rtc_init();
+//     eeprom_at24c_init();
+//     eeprom_test();
+       tm1637_init();
+
+       rtc_init();
 
-//     tm1637_init();
-//     tm1637_start();
 
        //uint32_t test = hextoreg("12345678");