stm32duino / STM32RTC

Arduino RTC library for STM32.
131 stars 48 forks source link

stm32RTC can give the hour Format 24 or 12 hours #105

Closed FRASTM closed 7 months ago

FRASTM commented 8 months ago

Adding a boolean (true) if the Hour format is 24 Hours.

Fixes https://github.com/stm32duino/STM32RTC/issues/104

sketch example: rtc.isFormat_24hour() ? Serial.println("24 hour format ") : Serial.println("12 hour format");