Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Pulse width modulation

Provides pulse width modulation output functions. More...

Classes

class  DriverPWM
 Pulse width modulator driver class. More...
 
class  ChannelPWM
 Pulse width modulator channel class. More...
 

Macros

#define PWM_DEPTH   255
 Maximum PWM depth. More...
 

Variables

DriverPWM EspPWM
 Global instance of PWM driver object. More...
 

Detailed Description

Provides pulse width modulation output functions.

Macro Definition Documentation

#define PWM_DEPTH   255

Maximum PWM depth.

Variable Documentation

DriverPWM EspPWM

Global instance of PWM driver object.

Note
Use EspPWM.function to access PWM driver functions
Example:
1 EspPWM.analogWrite(5, 50);