Visible Light Sensor Data Sheet

Title

Visible Light Sensor

TI Item Name

STEMEE/AC/LHTSEN/A

Description

Sensor that reports the level of ambient light.

Category

Environmental Sensors

Hub Connection

breadboard circuit

Assembly Instructions

Not Applicable

Precautions

Not Applicable

Specifications

 

 

HUB Commands

 

Sketch Object

LIGHTLEVEL or ANALOG.IN

Command Syntax

Send("READ LIGHTLEVEL n")

Code
Sample:

Desired Action

Code Sample

Configure the program to use LIGHT LEVEL on pin BB 4

Send("CONNECT LIGHTLEVEL 1 TO BB 4")

Read the light sensor

Send("READ LIGHTLEVEL 1")

Get(L):Disp L