44 void setup()
override;
BedjetMode mode
BedJet operating mode.
This Class provides the methods to read/write bytes from/to an i2c device.
Base class for all output components that can output a variable level, like PWM.
void write_state(float state) override
void set_parent(PCA9685Output *parent)
void set_channel(uint8_t channel)
PCA9685 float output component.
PCA9685Output(uint8_t mode=PCA9685_MODE_OUTPUT_ONACK|PCA9685_MODE_OUTPUT_TOTEM_POLE)
void dump_config() override
void set_channel_value_(uint8_t channel, uint16_t value)
void set_extclk(bool extclk)
void set_frequency(float frequency)
void register_channel(PCA9685Channel *channel)
float get_setup_priority() const override
uint16_t pwm_amounts_[16]
const uint8_t PCA9685_MODE_OUTPUT_ONACK
Channel update happens upon ACK (post-set) rather than on STOP (endTransmission)
const uint8_t PCA9685_MODE_OUTPUT_TOTEM_POLE
Use a totem-pole (push-pull) style output rather than an open-drain structure.
const uint8_t PCA9685_MODE_OUTNE_HIGHZ
For active low output enable, sets channel output to high-impedance state.
const uint8_t PCA9685_MODE_OUTNE_LOW
Similarly, sets channel output to high if in totem-pole mode, otherwise.
const uint8_t PCA9685_MODE_INVERTED
Inverts polarity of channel output signal.
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Providing packet encoding functions for exchanging data with a remote host.