pwmGlow by kernytskyy.nazar

PWM LED Glowing Effect
Line 5-6 - LED pins Line 13 - what approach to lighting up to use: smooth true - you set total time for glow and fade cycle; smooth false - set percentage of increase/desrease every period of time; Line 14-16 - what LED to use; multiple are ok.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:391843" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>