rtc example with tm1637 driver
[cortex-from-scratch] / include / drivers / tm1637.h
1 #ifndef __TM1637_H
2 #define __TM1637_H
3
4 /* HELPER SUBROUTINES DECLARATIONS */
5 static void start_condition();
6 static void stop_condition();
7 static int ack_recv();
8 static int ack10_recv();
9 static int idle();
10 static void delay();
11
12 extern void tm1637_init();
13 extern int set_grid(uint8_t offset, char value, bool dot);
14 extern int set_display(bool on, uint8_t degree);
15
16 extern void tm1637_example();
17
18 #endif