Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
| Name | LED |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Examples | #include <LED.h> //create a LED object at digital pin with led onboard LED led = LED(WLED); void setup(){/*no setup required*/} void loop() { led.blink(2000);//on a second, off a second } |
||||||||||||||||
| Description | Set the pinMode of the LED. | ||||||||||||||||
| Syntax | LED(ledPin) |
||||||||||||||||
| Methods |
|
||||||||||||||||
| Parameters |
|
||||||||||||||||
| Returns | None | ||||||||||||||||
| Usage | Application |

