be80be
Well-Known Member
Ok the code reads the keys right It save them in a array. What I don't know is how to check them. Key(4) is the array holding my four key presses.
1. press key1 value placed in Key(4) and counter gos from 0
2. press key2 value added to next block of Key(4) counter 1
3. press key3 value added to next block of Key(4) counter 2
4. press key4 value added to next block of Key(4) counter 3 hits three all done
Now how can I get each value 1 at a time so I can check what keys have been pressed. I can send it out to a display and it tells me what four keys where pressed
works but not what i need to do. I tried this
but it don't work for key 2 or 1 how do you get each.
I read that you can check each by using the step -1 but I couldn't get that to work Like this
I'm not good at writing wish I was better maybe you can see what I'm saying thanks 
1. press key1 value placed in Key(4) and counter gos from 0
2. press key2 value added to next block of Key(4) counter 1
3. press key3 value added to next block of Key(4) counter 2
4. press key4 value added to next block of Key(4) counter 3 hits three all done
Now how can I get each value 1 at a time so I can check what keys have been pressed. I can send it out to a display and it tells me what four keys where pressed
works but not what i need to do. I tried this
Code:
a = Key(Counter) -1 // gives me key 3 value
I read that you can check each by using the step -1 but I couldn't get that to work Like this
Code:
for Counter = 3 to 0 step -1
// I don't no what you would put here
next
Last edited: