Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Pulse width modulator driver class. More...
#include <DriverPWM.h>
Public Member Functions | |
DriverPWM () | |
PWM driver class. More... | |
void | initialize () |
Initialise PWM driver. More... | |
void | analogWrite (uint8_t pin, int duty) |
Set PWM output. More... | |
void | noAnalogWrite (uint8_t pin) |
Disable PWM on GPIO. More... | |
Static Protected Member Functions | |
static void IRAM_ATTR | processingStatic (void *arg) |
Pulse width modulator driver class.
DriverPWM::DriverPWM | ( | ) |
PWM driver class.
void DriverPWM::analogWrite | ( | uint8_t | pin, |
int | duty | ||
) |
void DriverPWM::initialize | ( | ) |
Initialise PWM driver.
void DriverPWM::noAnalogWrite | ( | uint8_t | pin | ) |
Disable PWM on GPIO.
pin | GPIO on which to disable PWM |