Core

class arduino.Clock(t: float = 0)

Clock based on absolute time rather than relative. Can tick at a constant rate.

reset(t: float = 0)

Reset time (or set to t).

tick(t)

Wait until time is t + last_tick.

time()

Return time since elapse.

waitto(t)

Sleep until time is t.