Wecker-Library
Dependents: Projekt_Wecker_LCD Projekt_Wecker_LCD Projekt_Wecker_LCD
Wecker.h@0:6f0b18518e88, 2015-04-30 (annotated)
- Committer:
- wolpra98
- Date:
- Thu Apr 30 10:35:04 2015 +0000
- Revision:
- 0:6f0b18518e88
- Child:
- 1:ade7876100e2
Wecker;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolpra98 | 0:6f0b18518e88 | 1 | #include "mbed.h" |
wolpra98 | 0:6f0b18518e88 | 2 | #include "LCD.h" |
wolpra98 | 0:6f0b18518e88 | 3 | #include "const.h" |
wolpra98 | 0:6f0b18518e88 | 4 | #include "RTC8563.h" |
wolpra98 | 0:6f0b18518e88 | 5 | |
wolpra98 | 0:6f0b18518e88 | 6 | #if !defined(_WECKER_H) |
wolpra98 | 0:6f0b18518e88 | 7 | #define _WECKER_H |
wolpra98 | 0:6f0b18518e88 | 8 | class Wecker: public RTC8563 |
wolpra98 | 0:6f0b18518e88 | 9 | { |
wolpra98 | 0:6f0b18518e88 | 10 | public: |
wolpra98 | 0:6f0b18518e88 | 11 | Wecker(); |
wolpra98 | 0:6f0b18518e88 | 12 | void printTime(); |
wolpra98 | 0:6f0b18518e88 | 13 | void printAlarmTime(); |
wolpra98 | 0:6f0b18518e88 | 14 | void btn1(); |
wolpra98 | 0:6f0b18518e88 | 15 | void btn2(); |
wolpra98 | 0:6f0b18518e88 | 16 | void btn3(); |
wolpra98 | 0:6f0b18518e88 | 17 | void tickHold(); |
wolpra98 | 0:6f0b18518e88 | 18 | int bcd(int dec); |
wolpra98 | 0:6f0b18518e88 | 19 | int unbcd(int bcd); |
wolpra98 | 0:6f0b18518e88 | 20 | }; |
wolpra98 | 0:6f0b18518e88 | 21 | #endif |