NAR-5620 Series
User
’
s
Manual
48
int movel = 16
; /* Move cursor 1 character left */
void MoveL () {
write(fd,&Cmd,1);
write(fd,&movel,1);
}
int mover = 20
; /* Move cursor 1 character right */
void MoveR () {
write(fd,&Cmd,1);
write(fd,&mover,1);
}
int scl = 24;
/* Scroll cursor 1 character left */
void ScrollL(){
write(fd,&Cmd,1);
write(fd,&scl,1);
}
int scr = 28;
/* Scroll cursor 1 character right */
void ScrollR(){
write(fd,&Cmd,1);
write(fd,&scr,1);
}
int setdis = 64;/* Command */
void SetDis(){
write(fd,&Cmd,1);
write(fd,&setdis,1);
}
/* Add or Change Show Message here */
char mes1[] = "Portwell EZIO";
char mes2[] = "*************";
char mes3[] = "Up is selected";
char mes4[] = "Down is selected";
char mes5[] = "Enter is selected";
char mes6[] = "ESC is selected";
char nul[] = "
";
int a,b;