![](/media/cache/profiles/c74a9582fa5f0724139a27f258f2ef22.jpg.50x50_q85.png)
rtc class
Fork of rtc_func by
RTC8563.h
- Committer:
- Hevi
- Date:
- 2015-04-16
- Revision:
- 2:c3120898fc96
File content as of revision 2:c3120898fc96:
// // @ Project : RTC8563 // @ File Name : RTC8563.h // @ Date : 16.04.2015 // @ Author : Daniel Hevesy // @ Copyright : daniel.hevesy-szetty@bulme.at // #include "mbed.h" #include "const.h" #if !defined(_RTC8563_H) #define _RTC8563_H class RTC8563 { public: RTC8563(); // delete void RTC8563(PinName sda, PinName scl); char rtc_read(char address); void rtc_write(char address, char value); void rtc_init(); void rtc_alarm(); protected: I2C i2c; }; #endif //_RTC8563_H