LED String Add-On
This add-on has two parts. There is a controller that plugs into a port on Awesome Shield, and there is a string of LEDs that plugs into the controller.
Main Functions
awesome.port1.LEDString.turnOn()
Turns on the LED string.
Example
// turns on the LED string
awesome.port1.LEDString.turnOn();
awesome.port1.LEDString.turnOff()
Turns the LED string off.
Example
// turn the LED string on
awesome.port1.LEDString.turnOn();
// wait for 1 second
delay(1000);
// turn the LED string off
awesome.port1.LEDString.turnOff();
Tips
The LED string is fun for decorating things! You can use it as a festive decoration, or to add some dazzling lights to any project.