Command 1998 set led command – Vernier LabPro User Manual
Page 70

Revision Date: 08/02/02
LabPro Technical Manual
70
Command 1998
Set LED Command
This command causes LabPro’s LEDs to turn on or off.
Syntax: {1998, P1, P2}
Parameter List:
P1
– indicates which LED to control The possible values are:
P1
Color of Controlled LED
1
Red
2
Yellow
3
Green
P2
– indicates the state of the LED- zero(0) for off and one(1) for on.
Note: Leaving a LED turned on will run down the batteries in LabPro.
Return values: No information is returned. However, LabPro’s LEDs will turn on or off based on
the command sent.
Example 1:Turn on Red LED.
Computer
Calculator
s{1998,1,1}
:Send({1998,1,1})