set_led
Purpose:
To set the LED indicators
Syntax:
void set_led(int led, int mode, int duration);
Example call:
set_led(LED_RED, LED_FLASH, 30);
#include "SDK.h "
Includes:
Description:
led
LED_GREEN
LED_RED
LED_ORANGE
mode
LED_OFF
LED_ON
LED_FLASH
Returns:
none
PT-20 Programming Guide
LED
description
LED moving display green light.
LED moving display red light.
LED moving display orange light.
description
off for (duration X 0.01) seconds then on
on for (duration X 0.01) seconds then off
flash, on then off each for (duration X 0.01)
seconds then repeat
65