CPSC310A
Robotics

Assignment 3

Hue

Create a circut that can control the hue of an RGB LED based on the position of a potentiometer. Convert the analog input of the potentiometer to an RGB values using an HSL to RGB conversion equation with constant values for the saturation and lightness. Use the analogWrite function to set the LED’s color. See the Arduino Language Reference if you need help with the syntax.

Submission

Please show your source code and demonstrate your circuit during class on Thursday January 29th.