User Manual

34
Here you should see the RGB LED flash different colors in turn.
Further Exploration
You can modify the parameters of the function ledColorSet( ) by yourself, and then
compile and run the code to see the color changes of the RGB LED.
Experimental Summary
In this experiment, you have learnt how to control RGB LEDs with the softPwm of Raspberry
Pi in this experiment. Try to apply the softPwm to DC motor speed regulation.