Ales Martinek wrote:
> Potreboval bych poradit jak napsat program pomoci ktereho bych mohl
> komunikovta s praralerni portem pres /dev/lp? jako pres instrukce in a out.
Je vic moznosti nez jen in/out instrukce. Treba:
fh = open ("/dev/port", O_RDWR)
while(neco) {
lseek (fh, 0x378, SEEK_SET)
write (fh, &data, 1)
}
Majkl