User Manual
17 
2.  Period describes the reciprocal of pulses in one second 
3.   U
pwm
 describes the mean value of output voltage (e.g. 0V-5V) 
Here we input any value between 0 and 255 to the three pins of the RGB LED to make it flash 
different colors. 
RGB LEDs can be categorized into common anode type and common cathode type. In this 
experiment, we use common cathode RGB LED. 
Experimental Procedures 
Step 1: Build the circuit 
   RGB LED Module    SunFounder Uno 
 R -------------------------------------D11 
   G ------------------------------------ D10 
    B ------------------------------------- D9 
    - ------------------------------------- GND 
Step 2: Program (Please refer to the example code in LEARN -> Get Tutorial on our website) 
Step 3: Compile 
Step 4: Upload the sketch to SunFounder Uno 
Now, you can see the RGB LED flash red, green and blue first, and then red, orange, yellow, 
green, blue, indigo and purple. 
SunFounder










