Initialize the device
The bus must be opened. This step is necessary before using any other function. The library uses Auto Increment mode. It sets the flags defined at startup.
Sets the duty cycle of all channels
the step where the pulse begins
the step where the pulse ends
an empty promise.
Sets the prescaler to achieve a given frequency in herz.
the frequency to set
an empty promise.
Sets the duty cycle of a single channel.
the channel to configure
the step where the pulse begins
the step where the pulse ends
an empty promise.
Set the pulse length in micro second.
the channel to configure
the length of the pulse in microsecond
an optional offset for the start of the pulse.
an empty promise.
Shutdown a given channel
channel to shut
Shutdown all channels
Generated using TypeDoc
The device class used to control a PCA9685 board.