chip

Functions

get_motor(channel, values, pwm, worker)

Factory function to create and initialize a Motor instance.

get_motor_if_active(key, index_key, ...)

Builds a Motor from its settings if the key presence flag is ON.

get_motor_old(channel, angles)

Factory function to create and initialize a Motor instance.

parse_motor_values(values)

Unpack MOTOR*_VALUES into (open, close, time_open, time_close, hold).

Classes

LED(channel, n_channels, pwm)

Motor(channel, values, pwm, worker)