Hello Guest it is March 29, 2024, 08:35:05 AM

Author Topic: Edge detection on input  (Read 4674 times)

0 Members and 1 Guest are viewing this topic.

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Edge detection on input
« Reply #10 on: January 17, 2016, 11:01:53 AM »
Look again at the code in your first post. The reason it doesn't read the input (in the second if) is simply down to a typo.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Edge detection on input
« Reply #11 on: January 17, 2016, 02:53:45 PM »
I have used while and do loops for years to wait on an input signal. I have never seen one programmed correctly that did not work in Mach3.

(;-) TP