On-Board Red LED Data Sheet

Title

On-Board Red LED

TI Item Name

Built into the Hub

Description

Built-in light-emitting diode (LED) that emits a red light when current passes through it.

Category

LEDs and Displays

Hub Connection

on-board Hub

Assembly Instructions

Not Applicable

Precautions

Not Applicable

Specifications

Not Applicable

 

HUB Commands

 

Sketch Object

LIGHT

Command Syntax

Send("SET LIGHT …")

   ON/OFF

   [BLINK frequency]

   [TIME duration] (in seconds)

Code
Sample:

Desired Action

Code Sample

Turn LED ON

Send("SET LIGHT ON")

Turn LED OFF

Send("SET LIGHT OFF")

Turn LED ON for 10 seconds

Send("SET LIGHT ON TIME 10"

Turn LED ON, blink it at 2 Hz for 10 seconds

Send("SET LIGHT ON BLINK 2 TIME 10")

See Also: Red LED - Error Indicator