Search wiring.org.co:

Libraries \ LED

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 |

### setValue()

Description | This method assumes a PWM pin. Writes an analog value in the pin if is a PWM, else it either turn it on or off.
Syntax |
    setValue(val)
Parameters |

val | The value to set the LED to (0,255)

Returns | None
Usage | Application

Updated on July 07, 2011 11:10:35pm PDT