Search wiring.org.co:

Libraries

## Button

LED
Set the pinMode of the LED.

getState()
Get the state of this LED.

on()
Set this LED on.

off()
Set this LED off.

toggle()
Toggle this LED.

blink()
Blink this led a number of times, with the duration of time each blink.

setValue()
Writes an analog value in the pin.

fadeIn()
It will fade the LED from off to on.

fadeOut()
It will fade the LED from on to off.