Does anyone know the code to set up The Heltec lora V1 RTC to 24hr clock format.
in Vstudio ?
it’s something like this example for Arduino , i think.
setClockMode(bool h12); // Set 12/24h mode. True is 12-h, false is 24-hour.
But not seeing this in Vstudio
Thanks in Advance Andy…
Heltec RTC to set 24hr Format?
Forget that , found it
RTC_24_HOURS_FORMAT;
the problem was with the Lora ESP32 sending the time in 12hr mode
solution for esp32 was
Txpacket[10] = rtc.getHour(true); // hour true =24hr mode false =12Hr
I was just doing this before:
Txpacket[10] = rtc.getHour();