|
Re: Help on programming a limit switch
Ah, thank you for the corrections. There is nothing in the false cases of my code so I'm not sure if it would ever be attempting to write to the local variable at more than one location (perhaps in the instant you press the button for the first time). But your way is definitely more elegant.
|