Shouldn't the fact that the signal is in a while loop keep the 5 volt signal going? Isn't the parallel port being blasted with the value 255 over and over again?
The serial port will not fulfill what i am ultimately trying to achive. I am trying to have the parallel port to control 8 relays each turing on/off based upon which bit i send out to the port. On Sun, 27 Oct 2002 [EMAIL PROTECTED] wrote: > try using also the serial port and a logical buffer > > the 5 volt signal is very fast and your multimeter is maybe not to fast > > > I'm looking for a 5 volt signal. > > > > I have wires plugged into pins 2 and 25 of the parallel port. > > > > I have written a small program: > > > > #include <stdio.h> > > #include <dev/ppbus/ppi.h> > > #include <dev/ppbus/ppbconf.h> > > > > int main() > > { > > int fd; > > while(1) > > { > > ioctl(fd, PPISDATA, 255); > > } > > } > > > > and have it executing... > > > > I have a multi-meter with the positive lead touching the pin 2 wire and > > the negative lead touching pin 25 wire, but i am not registering any > > voltage. > > > > =( > > > > I am sad. > > > > I have recompiled my kernel to disable plip and enable ppi. The > > following is a snipet of my kernel configuration: > > > > # Parallel port > > device ppc0 at isa? irq 7 > > device ppbus # Parallel port bus (required) > > device lpt # Printer > > # > > # 2002 oct 27 - removed plip and added ppi. > > # > > #device plip # TCP/IP over parallel > > device ppi # Parallel port interface device > > #device vpo # Requires scbus and da > > > > any help would be very much appreciated > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > > > > ----------------------------------------- > "UNIXMEXICO la comunidad *nix en todo México!" > http://www.unixmexico.org/ > > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message