Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
45 
Delaying Turning On Light 
 
Purpose:  The specified light is turned off immediately after the program calls this 
function and turns on after the specified seconds. All effects set by 
devLEDDelayOn() and devLEDDelayOff() before for the light that you 
are trying to set is cancelled. 
 
Syntax: 
int devLEDDelayOn(int idxLED, int iSecd)
 
 On-CK1 Parameters:  idxLED 
Index number of the light that you want to set 
iSecd 
Seconds to delay to turn on the light 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters:  idxLED No 
action 
iStatus No 
action 
 
On-Host Return:  Always return 0 
Delaying Turning Off Light 
 
Purpose:  The specified light is turned on immediately after the program calls this 
function and turns off after the specified number of seconds. All effects set 
by devLEDDelayOn() and devLEDDelayOff() before for the light that 
you are trying to set are cancelled. 
 
Syntax: 
int devLEDDelayOff (int idxLED, int iSecd)
 
 On-CK1 Parameters:  idxLED 
Index number of light that you want to set 
iSecd 
Seconds to delay to turn off the light 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters:  idxLED No 
action 
iStatus No 
action 
 
On-Host Return:  Always return 0 
Liquid Crystal Display APIs 
To use the liquid crystal display (LCD) APIs, you need to include the 
header file. 
To include the header file 
•  Add this line to your source file: 
 #include 
<eslib_lcdbias.h>