Running the project

If we run the sketch for the RBG LED, we would see the LED slowly cycle between the five colors. The code for the NeoPixels will flip the pixels, one by one, between two colors.

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.