beautypg.com

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

Page 103

background image

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

F W S - 7 4 0 0

Appendix C Standard LAN Bypass Platform Setting

C-9

C.3 LCD Module

Introduction

FWS-7400 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();