Wecker-Library

Dependents:   Projekt_Wecker_LCD Projekt_Wecker_LCD Projekt_Wecker_LCD

Wecker.h

Committer:
wolpra98
Date:
2015-05-29
Revision:
1:ade7876100e2
Parent:
0:6f0b18518e88

File content as of revision 1:ade7876100e2:

#include "mbed.h"
#include "LCD.h"
#include "const.h"
#include "RTC8563.h"
#include <string>

#if !defined(_WECKER_H)
#define _WECKER_H
class Wecker: public RTC8563
{
public:
    Wecker();
    void printTime();
    void printAlarmTime();
    void test();
    int bcd(int dec);
    int unbcd(int bcd);
    void printState(char *Mode);
    char week;
    int hour, minute, sec;
    int hrse, hrsz, mine, minz, sece, secz;
    int ahour, aminute, ahrse, ahrsz, amine, aminz;
    int nextStd, nextMin;
};
#endif