Quote Originally Posted by skimask View Post
Fixed by post above?


Ok, so how do you determine if the LED is off?
How do you determine if 'switch 1' is on again?
If you can answer those 2 questions, then you should be able to write your code.
Quote Originally Posted by skimask View Post
Fixed by post above?


Ok, so how do you determine if the LED is off?
How do you determine if 'switch 1' is on again?
If you can answer those 2 questions, then you should be able to write your code.

Hi, not fixed.


determine LED - i do not now if i anderstand you well (bad Inglish mine) but by having switch2 pressed led if off. (or if switch1 pressed is off to)

'switch 1' - I only put this switch to try to stop the code there from looping and looping because i only want that led is high 1 time at the time (just when switch1 be pressesd again), then wait for switch2 to be not pressed.

Thanks