Delta VFD-L series User Manual page 71

Hide thumbs Also See for VFD-L series:
Table of Contents

Advertisement

<7,E,1>=1AH, <7,O,1>=0AH
<8,N,2>=07H, <8,E,1>=1BH
<8,O,1>=0BH */
for(i=0;i<=16;i++){
while(!(inportb(PORT+LSR) & 0x20)); /* wait until THR empty */
outportb(PORT+THR,tdat[i]);
}
i=0;
while(!kbhit()){
if(inportb(PORT+LSR) & 0x01){ /* b0==1, read data ready */
rdat[i++]=inportb(PORT+RDR); /* read data form RDR */
}
}
}
DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
/* send data to THR */
5-53
VFD-L Series
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents