#define RTC_ADDRESS 0x68 // I2C address for DS3231 RTC module #define SEC_REGISTER 0x00 // RTC register address for seconds #define MIN_REGISTER 0x01 // RTC register address for minutes #define ...
昨今のコロナにより在宅勤務になった人も多いのではないでしょうか。在宅により睡眠障害になる人も増えているみたいです。光は自然な起床を促し、音による起床よりもストレスが少ないとされます。 そこで今回はI2Cの勉強も兼ねて朝の目覚めを助ける ...
Create a BSP (board support package) to communicate with the RTC board (model Tiny RTC I2C modules) that uses the IC DS1307. About the RTC (some info were collected from datasheet) The DS1307 Serial ...