beautypg.com

C.3 lcd module – AAEON FWS-7810 User Manual

Page 101

background image

N e t w o r k Ap p l i a n c e

F W S - 7 8 1 0

Appendix C Standard LAN Bypass Platform Setting

C-9

C.3 LCD Module

Introduction

FWS-7810 provides a LCM (LCD Module) to display information via

standard parallel port. User is able to program the LCM to express different

status.

Sample Code

void Display_Clear()

{

outportb(0x378, 0x01);

wait();

outportb(0x37A, 0xC8);

wait();

outportb(0x37A, 0xCA);

wait();

}

void Return_Home()

{

outportb(0x378, 0x02);

wait();

outportb(0x37A, 0xC8);

wait();

outportb(0x37A, 0xCA);

wait();