|
Re: Help! Programming question with triggers
Quote:
|
Originally Posted by AsimC
i forgot to say...it is a self centering toggle switch. Toggle forward is wired up to "trigger", and toggle back is wired up to "top" in code.
Anyways... Slimbojones when i was debugging my code, i tried something like that... and it didnt work. What happens is the 1 from p3_sw_trig is held in the code, so it never goes back to 0 and that means itll never go to neutral.
|
Then its your switch. Just because it returns to center does not mean the switch is opened 
Last edited by Greg : 17-03-2004 at 21:19.
|