stm32duino / STM32RTC

Arduino RTC library for STM32.
135 stars 49 forks source link

fix calculation of subsecond conversion in MIX or BIN mode #102

Closed FRASTM closed 1 year ago

FRASTM commented 1 year ago

Depending on the RTC mode, the SSR subsecond register and AlarmSSR differ when converted to/from a value in milliseconds Correcting the formula in GetTime, GetAlarm/StartAlarm functions. Update description (README) for BINary only mode use with getEpoch and setAlarmEpoch