The Espressif PWM works great - very good for RGB 12v LEDs with the addition of 3 MOSFETS - however, when you set the PWM to off - ie all zero values, this does NOT stop the PWM from running. If you try to do anything time-sensitive like RGB serial LEDs you cannot - they will mess up as presumably, interrupts are still running for the PWM.
Can we please have a pwm.stop() function that actually turns off the PWM? I can't imagine it is rocket science??
Pete.
PWM stop issues
Re: PWM stop issues
Postby eriksl » Fri Aug 21, 2015 5:07 am
This question has been asked and answered before. It would be preferrable to have a stop function, but the same state should be achievable in another way, which can be found in the original answer 
I hate those LED strings that need bit banging on a synchronous clock. They should have used either i2c or spi, which are totally asynchronous.

I hate those LED strings that need bit banging on a synchronous clock. They should have used either i2c or spi, which are totally asynchronous.
Who is online
Users browsing this forum: No registered users and 52 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.