Welcome Guest, you are in: Login

Netduino Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

GO! Module - RGB LED

RSS
Modified on 2012/06/04 01:08 by Nevyn Categorized as Netduino GO!, Netduino GO! Modules
The netduino GO! RGB LED module is a single RGB LED, a very bright one! The LED is set to only go up to 33% of its possible brightness.

Here is a quick video I (Omar) made to show what can be done with it and how:



Sample Code:

using System.Threading;
namespace Module_Tests
{
    public class Program
    {
        public static void Main()
        {
            NetduinoGo.RgbLed led = new NetduinoGo.RgbLed();
            
            led.SetColor(0, 0, 0);
            Thread.Sleep(2000);
            led.SetColor(255, 0, 0);
            Thread.Sleep(2000);
            led.SetColor(0, 255, 0);
            Thread.Sleep(2000);
            led.SetColor(0, 0, 255);
            Thread.Sleep(2000);
            led.SetColor(255, 255, 0);
            Thread.Sleep(2000);
            led.SetColor(0, 255, 255);
            Thread.Sleep(2000);
            led.SetColor(255, 0, 255);
            Thread.Sleep(2000);
            led.SetColor(255, 255, 255);

            // 255 - Full brightness
            // 0   - Off
        }
    }
}
Where to buy:

Design and NETMF Source Files are attached!

  Name Size
- RGB LED Module.zip 15.40 KB
- RgbLed_NETMF_Source.zip 3.94 KB

ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.