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.
Class | LED |
||||
---|---|---|---|---|---|
Name | blink() |
||||
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 | Blink this led a number of times, with the duration of time each blink. | ||||
Syntax | blink(time, times) |
||||
Parameters |
|
||||
Returns | None | ||||
Usage | Application |