- Posts: 19311
- Thank you received: 4655
eFalegname wrote: Is there a way to change the parport pin signal from IN to IN-NOT with a HAL component?
Please Log in or Create an account to join the conversation.
I think I would use LUT5, then have a very heavily de-bounced version of the probe input driving the third input bit, so that the system automatically selected between NO and NC probes.
Please Log in or Create an account to join the conversation.
I want to check a pyvcp radio button to switch between the "NO" and "NC" probes using the same parport pin swaping the IN entries
Please Log in or Create an account to join the conversation.
Todd Zuercher wrote: I would think an XOR ( linuxcnc.org/docs/html/man/man9/xor2.9.html ) would be the simplest way to do it. Just connect the parallel port pin to one of the inputs for the XOR and the output from your radio button to the other input of the XOR.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.