8 Position DIP Switch Data Sheet

Title

8 Position DIP Switch

TI Item Name

STEMEE/AC/SWIT/B

Description

Set of 8 slide switches used to customize the behavior of the circuit components for specific situations.

Category

Power and Signal Control

Hub Connection

breadboard circuit

Assembly Instructions

Not Applicable

Precautions

Not Applicable

Specifications

'0.100", 100mA, 20VDC

 

HUB Commands

 

Sketch Object

DIGITAL.IN

Command Syntax

Send("READ DIGITAL.IN n") - n = 1 to 8

or

Send("READ SWITCH n") - n = 1 to 8

Code
Sample:

Desired Action

Code Sample

 

Configure the program to use 8 SWITCHs on pins BB 1 - 8

For (N, 1, 8)

Send("CONNECT SWITCH eval(N) TO BB eval(N)")

Send("READ SWITCH eval(N)")

Get(S):Disp S

End