Skip to content

Builtin_LED_Demo.ino

Arnd edited this page Jan 18, 2021 · 1 revision

This is a simple sketch to demonstrate the basic functions in the library. It requires no external LEDs since it makes use of the builtin LED.

It first performs a typical fade function using set() and a for-next loop with a delay.

Then it does the same thing again, but uses the set(,) method which lets the library take care of the fading while the program is free to continue normal processing.

Clone this wiki locally