Re: parallel port application

2006-05-06 Thread Tihomir Koychev
Hi Thanks for all answers.I write a sample programe that do the job i want.The program is test on OpenBSD 3.9 .The source can be doanload from http://www.betstrikes.com/OpenBSD/outb.c /* * You need to have the machdep.allowaperture sysctl set to =1 if running at securelevel 1 or above. *

parallel port application

2006-05-05 Thread Tihomir Koychev
Hi Can someone suggest simple application which can send data to parallel port.I want to send 0,1 on pin2 to control relay. best regards Tihomir www.BetStrikes.com - futbolni prognozi Tsrankmh opncmngh

Re: parallel port application

2006-05-05 Thread Nick Guenther
On 5/5/06, Tihomir Koychev [EMAIL PROTECTED] wrote: Hi Can someone suggest simple application which can send data to parallel port.I want to send 0,1 on pin2 to control relay. best regards Tihomir Start here: http://marc.theaimsgroup.com/?l=openbsd-techm=101984806101040w=2

Re: parallel port application

2006-05-05 Thread dave feustel
On Friday 05 May 2006 08:21, Tihomir Koychev wrote: Hi Can someone suggest simple application which can send data to parallel port.I want to send 0,1 on pin2 to control relay. best regards Tihomir The approach I have taken to do digital io from OpenBSD is to get an ethernet 24 io module