Results 30 comments of shaoziyang

Which chip do you use?

Which RTC chip do you used with OpenMV Camera H7?

DS3231 use registry 10h to calibration RTC (**Aging Offset**). I didn't implement the calibration function alone, but you can use setReg function to calibration RTC, such as: ``` ds =...

Do you enable alarm interrupt or Square-Wave Output? You can try to set **Control Register (0Eh)** to 0x1C (default value) to disable SQW, and clear **A1F/A2F** (Alarm Flag) before enter...

use `ds.setReg(DS3231_REG_CTRL, 0x1C)` to disable SQW, and `ds.ClearALARM()` to clear alarm.

use `ds.setReg(DS3231.DS3231_REG_CTRL, 0x1C)`

In fact, ds3231 has hourly alarm mode, but it does not support alarm every few hours. So you may set it alarm next two hour before esp32 sleep, just like...

It mabye i2c bus error, please use i2c.scan() first to ensure bus connect correctly. And SDO signal affects i2c address setting, please refer to the instructions in the readme.

please use my mpy-lib for esp32, not use microbit-lib. They are slightly different. https://github.com/micropython-Chinese-Community/mpy-lib/tree/master/misc/DS1302

I have not used LCD2004, I think there are only a few parameters different, such as row address.