We use this simple python script with RPi and a 7" RPi screen in many labs just to have a simple clock display. AFAIK the timing and update rate is good enough for human visual readout. The RPis get time over NTP. https://github.com/aewallin/digiclock In this application RPis seem to last for many years - in others where we use the SD-card (e.g. influxdb or similar) they seem to regularly fail in 1-2 years, requiring an reformat or new SD-card. An RPi or similar with a more robust SSD/M2 drive would be good.
Anders On Tue, Dec 7, 2021 at 3:15 AM Hal Murray <[email protected]> wrote: > > I would advise against using python for something like this. > > time.sleep() of python is extremely inaccurate. > > Where/when/what/how did you get that idea? > > I've had no problems with Python timing. Am I not looking > in the right place? Were you using some really old > software or hardware? > > _______________________________________________ > time-nuts mailing list -- [email protected] -- To unsubscribe send > an email to [email protected] > To unsubscribe, go to and follow the instructions there. > _______________________________________________ time-nuts mailing list -- [email protected] -- To unsubscribe send an email to [email protected] To unsubscribe, go to and follow the instructions there.
