HardwarePWM.h
bool analogWrite(uint8_t pin, uint32_t duty)
Set PWM duty cycle.
Definition: HardwarePWM.h:52
virtual ~HardwarePWM()
uint32_t getMaxDuty()
Get the maximum duty cycle value.
Definition: HardwarePWM.h:116
HardwarePWM(uint8_t *pins, uint8_t no_of_pins)
Instantiate hardware PWM object.
#define PWM_CHANNEL_NUM_MAX
Definition: Esp8266/Components/esp8266/include/pwm.h:38
bool setDuty(uint8_t pin, uint32_t duty, bool update=true)
Set PWM duty cycle.
Definition: HardwarePWM.h:73
bool setDutyChan(uint8_t chan, uint32_t duty, bool update=true)
Set PWM duty cycle for a channel.