Getting Lcd Status; Setting Brightness - Intermec CK1 Programmer's Reference Manual

Intermec ck1: reference guide
Hide thumbs Also See for CK1:
Table of Contents

Advertisement

ReadStatus[lcdinfo.power]);
ReadStatus[lcdinfo.backlight]);
lcdinfo.brightness);
}
PrintMenu();
};
return 0;
};
Purpose: Get the specified LCD/LCM device status.
Syntax:
On-CK1 Parameters: *LcdInfo
On-CK1 Return: -1
On-Host Parameters: None
On-Host Return: Always return 0
Purpose: Set the brightness of a specified LCD/LCM device. This value is the
Syntax:
CK1 SDK Programmer's Reference Manual
case 'S':
delay(DelayTime);
devLcdGetStatus(&lcdinfo);
printf("\n");
printf("\tPower
printf("\tBacklight
printf("\tBrightness = %d\n",
break;
default:
continue ;

Getting LCD Status

int devLcdGetStatus(struct lcd_status *LcdInfo)
Pointer to the lcd_status structure to get LCD/LCM status
which includes power, backlight, and brightness.
The declaration of
struct lcd_status
extern struct lcd_status{
unsigned int power;
unsigned int backlight;
unsigned int brightness;
};
The lcd_status.power indicates the power on/off status: 1 = on, 0 = off.
The lcd_status.backlight indicates the backlight status: 1 = on, 0 = off.
The lcd_status.brightness indicates the value (0-100) of brightness.
Function failed
0
Function succeeded

Setting Brightness

default value at the next cold boot.
int devLcdSetBrightness(int SetValue)
Chapter 2 — Configuring the CK1 System
= %s\n",
= %s\n",
is:
49

Advertisement

Table of Contents
loading

Table of Contents