White LED Data Sheet

Title

White LED

TI Item Name

STEMKT/AC/C

Description

White LED module that bends to any position.

Category

LEDs and Displays

Hub Connection

4-Pin Cable to any of these ports: OUT 1, OUT 2, OUT 3

Assembly Instructions

Insert LED into socket - longer leg (lead) is positive (anode). If both leads are of equal length, the lead adjacent to the flat edge on LED casing is the negative (cathode) lead.

Precautions

Do not bend the leads repeatedly; this will weaken the wires and may cause them to break.

Specifications

Operating voltage: 3.3v/5v

Emitting Color: White

 

HUB Commands

 

Sketch Object

LED

Command Syntax

Send("SET LED 1 TO ON/OFF [[BLINK|TOGGLE] frequency] [[TIME] seconds]")

Code
Sample:

Desired Action

Code Sample

Configure the program to use LED on port OUT 1

Send("CONNECT LED 1 TO OUT 1")

Turn LED ON

Send("SET LED 1 ON")

Turn LED OFF

Send("SET LED 1 OFF")

Turn external LED ON for 5 seconds

Send("SET LED 1 TO ON TIME 5")

Turn external LED ON and blink it at 2 Hz (2 times a second) for 5 seconds

Send("SET LED 1 TO ON BLINK 2 TIME 5")