You have reached the legacy GHI Electronics, LLC website, for the new website please visit here. For the new forum please visit here.

This legacy website will be taken offline at the end of this year. If there is anything that you would like to archive and save for future reference please do so.

LED Strip Module


Part # LEDST-GM-438

This multi purpose module contains 2 green, 3 yellow and 2 red LEDs. This can be used as a bar graph or a traffic light. The circuit board includes some marking to aid in learning binary numbers. This is a must-have module for educators.

 
1
LED0
3
LED2
5
LED4
7
LED6
9
2
 
4
LED1
6
LED3
8
LED5
10
GND
Required Socket Type Y
5V Tolerant
Power Consumption TBD @ 3.3 V, TBD @ 5 V mA
Dimensions 37 x 13 x 7.15 mm
Weight 2 g
Resource Description
Schematic

For information on working with these sample programs, see Introduction to NET Gadgeteer and Namespaces.

This sample was written using the 2014 R5 SDK.

Code Language: C#
using System.Threading;

namespace YourNamespace
{
    public partial class Program
    {
        private void ProgramStarted()
        {
            for (var i = 0; i < this.ledStrip.LedCount; i++)
            {
                this.ledStrip.TurnLedOn(i);          
                Thread.Sleep(200);
            }
         
            for (var i = 0; i < this.ledStrip.LedCount; i++)
            {
                this.ledStrip.TurnLedOff(i);
                Thread.Sleep(200);
            }

            this.ledStrip.TurnAllLedsOn();
            Thread.Sleep(500);
         
            this.ledStrip.TurnAllLedsOff();
            Thread.Sleep(500);
        }
    }
}
  • Gadgeteer-module-holder board

    The latest creation from Ian is brilliantly simple. I think this is a perfect example of KISS http://simple.wikipedia.org/wiki/K.I.S.S. I believe I now hold the record for largest Gadgeteer module :D The SponsorBoard module is an idea I had for raising funds to get a set of kits funded for … read more

    LED Strip, traffic light and binary counter. All in one
    Discontinued