pic logicator flowsheets turning on consecutive leds using switches

colin9891

New Member
I am using the picaxe 18x in a project for my leaving certificate exam.
I am making a model of a studio where each audience member will have a keypad with two switches on it, yes and no
I want to be able to create a bar graph style with the results.

If yes switch is pressed once it will turn on one led in the yes column
if yes switch is pressed twice it will turn on an extra led in the yes column
if no is pressed it will turn on the first led in the no column and so on.

Can anyody tell me what i need to do
The idea is that each audience member would have a keypad with a yes and no switch.

I will only be making two keypads as there is only 4 outputs unless you can suggest otherwise.

Would it be possible to limit each keypad to turn on one output (led) only as each audience member would be allowed to make one choice only, yes or no, they will have another oppurtunity to make another choice a few minutes later when the program resets.

Any ideas
 
Top