Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
RTC8563.h
00001 // 00002 // @ Project : RTC8563 00003 // @ File Name : RTC8563.h 00004 // @ Date : 16.04.2015 00005 // @ Author : Daniel Hevesy 00006 // @ Copyright : daniel.hevesy-szetty@bulme.at 00007 // 00008 #include "mbed.h" 00009 #include "const.h" 00010 00011 #if !defined(_RTC8563_H) 00012 #define _RTC8563_H 00013 00014 class RTC8563 00015 { 00016 public: 00017 RTC8563(); // delete void 00018 RTC8563(PinName sda, PinName scl); 00019 char rtc_read(char address); 00020 void rtc_write(char address, char value); 00021 void rtc_init(); 00022 void rtc_alarm(); 00023 protected: 00024 I2C i2c; 00025 }; 00026 00027 #endif //_RTC8563_H
Generated on Wed Aug 3 2022 12:32:56 by
