HardwarePWM.h
Go to the documentation of this file.
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.
virtual ~HardwarePWM()
#define PWM_CHANNEL_NUM_MAX
Definition: esp8266/ESP8266_NONOS_SDK/include/pwm.h:36
bool setDutyChan(uint8_t chan, uint32_t duty, bool update=true)
Set PWM duty cycle for a channel.
bool setDuty(uint8_t pin, uint32_t duty, bool update=true)
Set PWM duty cycle.
Definition: HardwarePWM.h:73
bool analogWrite(uint8_t pin, uint32_t duty)
Set PWM duty cycle.
Definition: HardwarePWM.h:52