![](/media/cache/profiles/c74a9582fa5f0724139a27f258f2ef22.jpg.50x50_q85.png)
class
Fork of rtc_class by
Diff: RTC8563.h
- Revision:
- 3:0de441ee46ce
- Parent:
- 2:c3120898fc96
--- a/RTC8563.h Thu Apr 16 10:25:35 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -// -// @ 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 \ No newline at end of file