The code works well for me, but there are still some bugs:
-when a parallel port is in the circuit if i try to open the "configure
ktechlab" window , ktl freezes... no error messages in the terminal... just
freezes.
-If i try to add a new p-port to the circuit it freezes too.
If you are not hurr
If the code works well, send a patch and we could included in the official
tree.
Too bad I have only a laptop, which has only usb ports, so I can't test the
parallel ports.
2009/9/15 santiago gonzalez
> Ok... found the parallel port inputs (status) error.. the setHigh()
> operation was ORed w
Ok... found the parallel port inputs (status) error.. the setHigh()
operation was ORed with the readed value but it should be ANDed... now
seting or clearing status pins in the real port is shown in ktechlab and can
be conected to a ktl circuit... lets do some testings... :)
About the serial port
No... is not a rs232 comunication... no protocol... you can just set or
clear a pin, just like an electric conection. It can work just like a wire.
2009/9/15 Alan Grimes
> > I'm thinking in not simulate PIC but run the code in a real pic and
> > conect it to a virtual circuit through parallel po
> I'm thinking in not simulate PIC but run the code in a real pic and
> conect it to a virtual circuit through parallel port. I did a try with a
> real pic managing a virtual led in kltechlab through serial port,
> working ok; but serial has just a few lines, with parallel i could
> interface two w
Hi list...
This comes from the help forum:
Zoltan said:
*"In ktechlab's source you can find in /src/electronics/port.h and .cpp the
implementation. *
*As I see, reading and writing is done by calling ioctl on the device. *
*I don't know if setting the voltage on the port and seeing the change