30 #define RTC_Seconds 0x00
31 #define RTC_Minutes 0x01
32 #define RTC_Hours 0x02
33 #define RTC_Day_of_Week 0x03
34 #define RTC_Day_of_Month 0x04
35 #define RTC_Month 0x05
38 #include "NXShieldI2C.h"
47 RTC(uint8_t i2c_address = 0xD0);
71 uint8_t BCDToInteger(uint8_t b);
This class implements I2C interfaces used by NXShield.
Definition: NXShieldI2C.h:32
uint8_t getYear()
Definition: RTC.cpp:73
This class interfaces with RTC attached to NXShield.
Definition: RTC.h:43
uint8_t getDayWeek()
Definition: RTC.cpp:58
uint8_t getSeconds()
Definition: RTC.cpp:43
uint8_t getMinutes()
Definition: RTC.cpp:48
RTC(uint8_t i2c_address=0xD0)
Definition: RTC.cpp:31
uint8_t getDayMonth()
Definition: RTC.cpp:63
uint8_t getHours()
Definition: RTC.cpp:53
uint8_t getMonth()
Definition: RTC.cpp:68