??? 04/22/10 18:55 Read: times |
#175287 - you don't, so what Responding to: ???'s previous message |
but where do we stop the cycling zeros for columns ?
you don't, so what or how do we synchronize the lower nibble below If you can share any keypad.c file with me it”ll be nice to learn and adapt seeing the same I do not have a non-proprietray such, but here is some pseudo-code clear new_char set colomn 1 any rows? if yes, process character to scan_character, goto finish set colomn 2 any rows? if yes, process character to scan_character, goto finish set colomn 3 any rows? if yes, process character to scan_character, goto finish set colomn 4 any rows? if yes, process character to scan_character, goto finish set character = 0 finish: if scan_character = previous_scan_char set actual_char else exit if actual_char != prevoous_actual_char mark new_char set prevoous_actual_char = actual_char the above is 90% correct and believed to be 100% correct Erik |