Timeline for Arduino leave PWM on
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 8, 2017 at 2:26 | history | tweeted | twitter.com/StackArduino/status/850535254695845888 | ||
| Apr 7, 2017 at 7:40 | comment | added | Edgar Bonet | The PWM is not supposed to turn off all by itself: last thing you wrote is 255, and it should stay at that level. It looks to me like this is not a software problem, but rather a hardware issue. Just for testing, replace your LED by a low power one (a standard 3 mm or 5 mm LED) in series with a resistor in the 220 Ω – 1 kΩ range. If it works with this setup, then you know it is a power supply issue. | |
| Apr 7, 2017 at 2:02 | answer | added | Photon | timeline score: 3 | |
| Apr 6, 2017 at 18:47 | comment | added | Gerben |
You need to have the program remember whether the light are ON or OFF. That way you can check the see if they are already on, before calling start.
|
|
| Apr 6, 2017 at 17:38 | review | First posts | |||
| Apr 6, 2017 at 19:56 | |||||
| Apr 6, 2017 at 17:27 | history | asked | dmallia | CC BY-SA 3.0 |