CPSC310A
Robotics

Activity 5

Analog Output

  1. What are the minimum and maximum values that can be passed to the analogWrite function?

  2. How many different colors can be specified for the RGB LED using analogWrite?

  3. How many different colors can be specified for the RGB LED using digitalWrite?

  4. Recreate the LED dimmer from assignment 2 using the analogWrite function.