Been trying to figure out away to do this for the past few days and I finally give in and I'm just going to ask for help. The cleanest way I can think to do this is with a PIC but I don't know enough to do it that way nor the equipment.
Here is what I'm trying to do.
Total of 10 buttons. 2 LED's
(RED) (GREEN)
[01] [02] [03] [04] [05] [06] [07] [08] [09] [10]
So if I push (in order)....
[01] (GREEN) blinks once
[02] (GREEN) blinks once
[03] (GREEN) blinks once
[04] (GREEN) blinks once
[05] (GREEN) blinks once
[06] (GREEN) blinks once
[07] (GREEN) blinks once
[08] (GREEN) blinks once
[09] (GREEN) blinks once
[10] (GREEN) blinks once
Now the part that has me stumped.
After pushing [10] and (GREEN) blinking once, I then push [05], (RED) should blink 4 times
After [05] blinks (RED) 4 times, I then push [07], (GREEN) should blink 2 times
[10] to [05] (RED) blinks 5 times
[05] to [07] (GREEN) blinks 2 times
[01] to [06] (GREEN) blinks 5 times
[06] to [01] (RED) blinks 5 times
Sounds so simple but I just cant figure out wrap my head around the easiest solution. If using a PIC is the only way to do this any suggestions on a cheap programmer and an example ?
Thanks.
Here is what I'm trying to do.
Total of 10 buttons. 2 LED's
(RED) (GREEN)
[01] [02] [03] [04] [05] [06] [07] [08] [09] [10]
So if I push (in order)....
[01] (GREEN) blinks once
[02] (GREEN) blinks once
[03] (GREEN) blinks once
[04] (GREEN) blinks once
[05] (GREEN) blinks once
[06] (GREEN) blinks once
[07] (GREEN) blinks once
[08] (GREEN) blinks once
[09] (GREEN) blinks once
[10] (GREEN) blinks once
Now the part that has me stumped.
After pushing [10] and (GREEN) blinking once, I then push [05], (RED) should blink 4 times
After [05] blinks (RED) 4 times, I then push [07], (GREEN) should blink 2 times
[10] to [05] (RED) blinks 5 times
[05] to [07] (GREEN) blinks 2 times
[01] to [06] (GREEN) blinks 5 times
[06] to [01] (RED) blinks 5 times
Sounds so simple but I just cant figure out wrap my head around the easiest solution. If using a PIC is the only way to do this any suggestions on a cheap programmer and an example ?
Thanks.