I want to do control with parellel port, but I have some problems to use it. I am new in QNX and so ask some questions.
- what is difference between
devc-par -p 0x378 &
devc-par -p 0x3f8 &
the second one works but the first one not. parallel port address is 0x378, why does second one work?
when I use parallel port to create square wave, my code is like
out8(0x378, 0xff); sleep([i]sec[/i]);
the scope always gets a 1sec half period even though the sec is changed to 0.1
what’s wrong here?
any answer is welcome.
thank you very much!