
PI1X Basic Programming Manual Ver. 1.10
54/156
3.10
LED Command
Purpose
:
To set the LED indicators.
Syntax
:
LED(number%, mode%, duration%)
Example
:
LED(2,2,100)
Description
:
number%
description
1
LED displays green light.
2
LED displays red light.
3
LED displays orange light.
mode%
description
1
off for (
duration%
X 0.01) seconds then on
2
on for (
duration%
X 0.01) seconds then off
3
flash, on then off each for (
duration%
X 0.01)
seconds then repeat