Hi all,
I'm using the very nice little library called rESP8266rtc and it generally works very well.
However, I'm getting spurious alarms happening.
I've set an alarm using the
In the alarm routine I'm just setting a flag at the moment to test the code, but this will be replaced with something useful. Then I just reset the alarm with another call to the same as above.
The alarm fires perfectly on time, but then a few (appears random) minutes later it triggers again.
Has anyone used this library and seen anything similar, or have any thoughts on what could be causing it.
The rtc event handler is reacting to the item 0 alarm call which is the second tick.
There's no other timers, but there is some regular astream.writes to the WiFi.
Any thoughts anyone, thanks
Dave
I'm using the very nice little library called rESP8266rtc and it generally works very well.
However, I'm getting spurious alarms happening.
I've set an alarm using the
B4X:
rtc.SetAlarm(1,rtc.ThisTime(12,1,0))
The alarm fires perfectly on time, but then a few (appears random) minutes later it triggers again.
Has anyone used this library and seen anything similar, or have any thoughts on what could be causing it.
The rtc event handler is reacting to the item 0 alarm call which is the second tick.
There's no other timers, but there is some regular astream.writes to the WiFi.
Any thoughts anyone, thanks
Dave