Version and Helper Functions

periphery.__version__ = '2.0.0'

Module version string.

periphery.version = (2, 0, 0)

Module version tuple.

periphery.sleep(seconds)[source]

Sleep for the specified number of seconds.

Parameters:seconds (int, long, float) – duration in seconds.
periphery.sleep_ms(milliseconds)[source]

Sleep for the specified number of milliseconds.

Parameters:milliseconds (int, long, float) – duration in milliseconds.
periphery.sleep_us(microseconds)[source]

Sleep for the specified number of microseconds.

Parameters:microseconds (int, long, float) – duration in microseconds.