help me
lulu
Posts: 2
hi everyone.
I'm having a problem with blinking LEDs by using BS2.
I want the LEDs to blink only after switch1 is pressed, released, and then switch2 is pressed.
Is this possible? How should I make such a program??
I'm having a problem with blinking LEDs by using BS2.
I want the LEDs to blink only after switch1 is pressed, released, and then switch2 is pressed.
Is this possible? How should I make such a program??
Comments
Main:
· DO
··· DO : LOOP UNTIL (Switch1 = Pressed)
··· DO : LOOP UNTIL (Switch2 = Pressed)
··· DO WHILE (Switch2 = Pressed)
······TOGGLE LED
····· PAUSE 100
·· ·LOOP
· LOOP
I will leave you to the details.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thak you so much for your reply, and it worked!!!
I really appreciate your suggestion. Thank you!!