Giovani Cardona
/
4_1_DS3231demo
Ejemplo RTC DS3231
Diff: main.cpp
- Revision:
- 6:2641d53a460a
- Parent:
- 5:ab9d82256e26
- Child:
- 7:e049867a7716
--- a/main.cpp Tue Mar 17 22:30:32 2015 +0000 +++ b/main.cpp Thu Mar 19 21:59:08 2015 +0000 @@ -51,9 +51,9 @@ //DS3231 rtc variables //default, use bit masks in ds3231.h for desired operation - Ds3231::ds3231_cntl_stat_t rtc_control_status = {0,0}; - Ds3231::ds3231_time_t rtc_time; - Ds3231::ds3231_calendar_t rtc_calendar; + ds3231_cntl_stat_t rtc_control_status = {0,0}; + ds3231_time_t rtc_time; + ds3231_calendar_t rtc_calendar; rtc.set_cntl_stat_reg(rtc_control_status);