Icop PDX-089T-D5A-512 User Manual page 30

Dm&p vortex86dx panel pc with 8.9” tft lcd
Table of Contents

Advertisement

void BackLightON()
{
// Set register 4AH bit1 to 0 to enable GPIOB
outportb(0x3d4, 0x4a);
unsigned c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x4a);
outportb(0x3d5, c);
// Set register 48H bit1
outportb(0x3d4, 0x48);
c = inport(0x3d5) | 0x02;
outportb(0x3d4, 0x48);
outportb(0x3d5, c);
}
void BackLightOFF()
{
// Set register 4AH bit1 to 0 to enable GPIOB
outportb(0x3d4, 0x4a);
unsigned c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x4a);
outportb(0x3d5, c);
// Clear register 48H bit1
outportb(0x3d4, 0x48);
c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x48);
outportb(0x3d5, c);
}
PDX-089T
DM&P Vortex86DX Panel PC with 8.9" WSVGA TFT LCD
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents