Difference between revisions of "PWM GPIO"
Jump to navigation
Jump to search
(Created page with "=== PWM control === It is also possible to output an PWM signal on the GPIO pins. To set a certain PWM level: '''<nowiki>http://<ESP IP address>/control?cmd=PWM,<pin>,<level...") |
|||
Line 12: | Line 12: | ||
=== Example === | === Example === | ||
− | [[File:Nodemcu pwm mosfet.png]] | + | [[File:Nodemcu pwm mosfet.png | 640px]] |
Revision as of 14:37, 19 April 2017
PWM control
It is also possible to output an PWM signal on the GPIO pins.
To set a certain PWM level:
http://<ESP IP address>/control?cmd=PWM,<pin>,<level>
This feature can be used to dim lights, control (DC)-fan speeds, etc.
Be aware that the direct GPIO has currently an "heartbeat" issue where flickers can occur