Hello Guest it is January 24, 2020, 11:31:42 PM

Author Topic: Edge detection on input  (Read 3163 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,925 6,925
    • 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