Step 5: Command the RGB led by the terminal

Now you can start the program.


sudo python rgb.py

You can read RGB-->

Now use 0 for OFF the color and 1 for ON color.

Use first number for Red, second number for Green and third for Blue.

For blue write 001 and after click enter

For green write 010 and after click enter

For red write 100 and after click enter

The fun comes when you start mixing colors.

Try 101 click enter and see the color.

About This Instructable




More by masteruan:House's Monitoring Consumption With Arduino UNO Arduino 101 Bluethooth IOS Pulse Sensor C51 4-Bit Clock Kit 3D Printed Enclosure 
Add instructable to: