Scanning the color spectrum

As part of a future project, I wrote some Arduino demo code that fades through the color spectrum using an RGB LED. Here’s a video:

The code is available on GitHub.