Version and Helper Functions

periphery.__version__ = '1.1.0'

Module version string.

periphery.version = (1, 1, 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.