Seriovy port a signal RTS

Ales Pour pour na princip.cz
Pondělí Srpen 20 18:03:40 CEST 2001


> Podívejte se na zdrojáky programu UPS

Ufff!
Nebo Serial-Programming HOWTO.
Nebo treba takhle:

int ps = 0;
ioctl(fd,TIOCMGET,&ps);
ps &= ~TIOCM_RTS;
ioctl(fd,TIOCMSET,&ps);

Ales


Další informace o konferenci Linux