Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5517

Beginners • Re: Real Time Clock on Pi 5

$
0
0
The RTC helps with keeping the time while the RPi is powered off. Both internal and external RTC does that.
What kind of periods are you looking at - what speed is your problem running at?
C++ has std::chrono that allows you to access to a steady_clock that's ideal for creating what you need:
https://en.cppreference.com/w/cpp/chrono/steady_clock
Other programming languages may have something similar.
So give us a few more details on what you plan to achieve.

Statistics: Posted by deepo — Fri Aug 30, 2024 7:46 pm



Viewing all articles
Browse latest Browse all 5517

Trending Articles