This example is for Wiring version 1.0 build 0100+. If you have a previous version, use the examples included with your software. If you see any errors or have comments, please let us know.
Blink by BREVIG http://alexanderbrevig.com
Demo the LED library and the famous blink sketch using its abstractions
#include <LED.h>
//create a LED object at digital pin WLED (on-baord LED)
LED led = LED(WLED);
voidsetup(){/*no setup required*/}
voidloop()
{
led.blink(2000);//on a second, off a second
}