for a school project i have to write a program that can control a lcd
display(HD44780) under qnx. I have been looking for more than a week now,
but i havent been able to find any working program that can send and receive
signals from the parallel port. I downloaded the Dev.par file, but i cant
compile it. If i try to make it, the message i get is:
Is there anyone who has a simple example of a program that can send and
receive signals from the parallel port?
I am desperate since i have been trying for over a week now…;(
why not program just a little *.c stuff reading/writing from /dev/par ?
e.g.
…
char buf[80] ;
int fd ,
retCode ;
…
fd = open( “/dev/par …”, O_RDWR ) ;
retCode = write( fd, buf, sizeof( buf ) ) ; // here you write sth.
…
retCode = read( fd, buf, sizeof( buf ) ) ; // and here you read sth.
…
bbartje schrieb:
Hello,
for a school project i have to write a program that can control a lcd
display(HD44780) under qnx. I have been looking for more than a week now,
but i havent been able to find any working program that can send and receive
signals from the parallel port. I downloaded the Dev.par file, but i cant
compile it. If i try to make it, the message i get is:
Is there anyone who has a simple example of a program that can send and
receive signals from the parallel port?
I am desperate since i have been trying for over a week now…;(
and what you mean by sending/receivin “signals” from Parallel port ?
IBK schrieb:
why not program just a little *.c stuff reading/writing from /dev/par ?
e.g.
…
char buf[80] ;
int fd ,
retCode ;
…
fd = open( “/dev/par …”, O_RDWR ) ;
retCode = write( fd, buf, sizeof( buf ) ) ; // here you write sth.
…
retCode = read( fd, buf, sizeof( buf ) ) ; // and here you read sth.
…
bbartje schrieb:
Hello,
for a school project i have to write a program that can control a lcd
display(HD44780) under qnx. I have been looking for more than a week now,
but i havent been able to find any working program that can send and receive
signals from the parallel port. I downloaded the Dev.par file, but i cant
compile it. If i try to make it, the message i get is:
Is there anyone who has a simple example of a program that can send and
receive signals from the parallel port?
I am desperate since i have been trying for over a week now…;(