jacdac.real_time_clock
Submodules
Package Contents
Classes
Real time clock to support collecting data with precise time stamps. |
- class jacdac.real_time_clock.RealTimeClockClient(bus: jacdac.bus.Bus, role: str, *, missing_local_time_value: Optional[Tuple[int, int, int, int, int, int, int]] = None)
Bases:
jacdac.bus.SensorClient
Real time clock to support collecting data with precise time stamps. Implements a client for the Real time clock service.
- property local_time Optional[Tuple[int, int, int, int, int, int, int]]
Current time in 24h representation.
day_of_month is day of the month, starting at 1
day_of_week is day of the week, starting at 1 as monday. Default streaming period is 1 second.,
- property drift Optional[float]
(Optional) Time drift since the last call to the set_time command., _: s
- property precision Optional[float]
(Optional) Error on the clock, in parts per million of seconds., _: ppm
- property variant Optional[jacdac.real_time_clock.constants.RealTimeClockVariant]
(Optional) The type of physical clock used by the sensor.,