This tutorial shows how to control the color of an RGB LED based on input from a user. This requires use of if statements and conditionals. You can see additional resources for this project at http://www.toptechboy.com, go to lesson 14.
You can login with your Hive account using secure Hivesigner and interact with this blog. You would be able to comment and vote on this article and other comments.