Arduino Moodlight library

Arduino library to control an RGB led with Hue, Saturation and Brigthness values. Steps:
  • Download the library : Arduino Moodlight library
  • Unpack the library in the Arduino libraries folder (standard in documents, arduino).
  • Restart Arduino if it was running.
  • Open the moodlight file in File > Examples > MoodLight > moodlight.
You can see and use the original code in this example: Arduino Programming – HSB to RGB You can find more information about using Arduino libraries on the Arduino Environment page.

Moodlight.pde :