LED i [TO] ON/OFF

Command:

LED i [TO] ON/OFF

Command Syntax:

SET LED i ON/ OFF [[BLINK|TOGGLE] frequency] [[TIME] seconds]

– digital LED (on or off only)

Range:

 

Describe:

Provides control over an external LED to set optional blink frequency and duration, as well as PWM capability if the associated pin connected to the LED supports it.

SET LED i ON [[BLINK|TOGGLE] frequency] [[TIME] seconds] – digital LED (on or off only)

SET LED i OFF – turns off LED (same as SET LED i 0).

Result:

Turns on LED.

Turns off LED

When connected to an Analog-PWM pin.

Type or
Addressable Component:

Control

 

LED i [TO] 0-255

Command:

LED i [TO] 0-255

Command Syntax:

SET LED i 0-255 [[BLINK|TOGGLE] frequency] [[TIME] seconds]

– analog LED (pwm duty cycyle)

Range:

 

Describe:

Provides control over an external LED to set optional blink frequency and duration, as well as PWM capability if the associated pin connected to the LED supports it.

SET LED i 0-255 [[BLINK|TOGGLE] frequency] [[TIME] seconds] – analog LED (pwm duty cycyle)

Result:

When connected to an Analog-PWM pin.

Type or
Addressable Component:

Control