-
Notifications
You must be signed in to change notification settings - Fork 11
Description
This offhand remark
Rather strange that the Serial.print for the RTC actually matches real time though
was in the context of talking about when the simulation can't keep up. I said it may be slow, but it will do the same things eventually, but it does seem that the RTC cranks away full speed.
Here's a simulation; I borrowed a project that will make my tablet go down to 50 percent real time:
RTC beats simulated passage of time!
The RTC and any other parts that talk about real time (timeout in the PIR detector, e.g.) should rightly derive their base timing from the simulation master time keeping mechanism, not the real clock time.
I expect this would hapen on any platform, I have use macOS (runs fine at 100 percent, nothing to see here) and iPadOS?? of some late version.
I couldn't right away think of why that RTC flaw would matter, I am sure given time I could. But then I remembered the time-out in the PIR. I have not the time to look into that just now, but I think that any use of "real time" should respect the simulation concept of time as a matter of fidelity and also as a thing we would just expect.
I was incredulous and defensive, then got empirical.
a7