ServoKit.PCA9685 (servo_kit v0.0.8) View Source
Controls the PCA9685 PWM Servo Driver. See PCA9685 datasheet.
Link to this section Summary
Functions
Performs the software reset. See PCA9685 Datasheet 7.1.4 and 7.6.
Puts the board into the sleep mode.
Wakes the board from the sleep mode.
Link to this section Types
Specs
t() :: %ServoKit.PCA9685{ duty_cycles: list(), i2c_ref: reference(), mode1: pos_integer(), pca9685_address: pos_integer(), prescale: pos_integer(), reference_clock_speed: pos_integer() }
Configuration options for this module.
Link to this section Functions
Performs the software reset. See PCA9685 Datasheet 7.1.4 and 7.6.
ServoKit.PCA9685.reset(state)
Puts the board into the sleep mode.
ServoKit.PCA9685.sleep(state)
Wakes the board from the sleep mode.
ServoKit.PCA9685.wake_up(state)