Shop OBEX P1 Docs P2 Docs Learn Events
DIRS — Parallax Forums

DIRS

tedroberson9tedroberson9 Posts: 5
edited 2013-11-20 18:25 in General Discussion
I want to control outputs P13,14,and 15 to manually switch 3 LEDs on and off sequentially, using momentary switches at in2,3 and 4. as control source. LED 1 is on by default. Pushing any switch after activation should turn on corresponding LED, turn off all others. I've tried using the DO LOOP,IF...then... else but not quite what I need, each time the loop cycles the led blanks; I need solid on and off. How do I setup the DIRS and IN to achieve this?????HELP!!!!!!!:blank:

Comments

Sign In or Register to comment.