We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90414bc commit 5da16e6Copy full SHA for 5da16e6
README.md
@@ -190,6 +190,12 @@ underflow. Used by STM32LoRaWAN.
190
Refer to the Arduino RTC documentation for the other functions
191
http://arduino.cc/en/Reference/RTC
192
193
+### Since STM32RTC version higher than 1.4.0
194
+_IsFormat_24Hour_
195
+
196
+Returns True if the current Hour Format is HOUR_24 else false if Hour format is HOUR_12
197
198
199
## Source
200
201
Source files available at:
src/STM32RTC.h
@@ -240,6 +240,10 @@ class STM32RTC {
240
{
241
return RTC_IsConfigured();
242
}
243
+ bool isFormat_24hour(void)
244
+ {
245
+ return (_format == HOUR_24);
246
+ }
247
bool isAlarmEnabled(Alarm name = ALARM_A);
248
bool isTimeSet(void)
249
0 commit comments