Red LED Data Sheet

Title

Red LED

TI Item Name

STEMEE/AC/LED/C

Description

Light-emitting diode that emits red light when current passes through it.

Category

LEDs and Displays

Hub Connection

breadboard circuit

Assembly Instructions

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 insert the leads of LEDs directly into the Hub’s Breadboard Connector. Assemble the components on the breadboard and use the provided jumper cables to connect the breadboard to the Hub.

Specifications

Voltage - Forward (Vf) (Typ): 2V, Current – Test: 10mA, Viewing Angle: 60°, Mounting Type: Through Hole

 

HUB Commands

 

Sketch Object

LED or DIGITAL.OUT

Command Syntax

Send("SET LED n …")

      ON/OFF

      [BLINK frequency]

      [TIME duration]

Code
Sample:

Desired Action

Code Sample

Configure LED

Send("SET LED 1 TO ON")

Send("SET LED 1 TO OFF")

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

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

Send("SET DIGITAL.OUT 1 TO ON")

Send("SET DIGITAL.OUT 1 TO OFF")

Send("SET DIGITAL.OUT 1 TO BLINK 2 TIME 5")

Send("SET DIGITAL.OUT 1 TO ON TIME 5")