Hello.
Our Club's members all have 6 digit "member IDs". I have a Raspberry Pi 3B and an external USB keypad which I'd like to use to process their data after they login. I thought I could just have them press the six keys on the keypad and append each one to a list 'while len(List) < 6', but nothing is saved into my Python3 app until they press the Enter key on the keypad.
I could just instruct them to press in their 6 digits and then press Enter, but I would like to eliminate the "press Enter" as we have other keypads (commercially bought) around the Shop that do this, I just don't know how.
The output can be a string, so how can I concatenate six keypad inputs into one string without pressing "Enter' ?
Thanks in advance.
Our Club's members all have 6 digit "member IDs". I have a Raspberry Pi 3B and an external USB keypad which I'd like to use to process their data after they login. I thought I could just have them press the six keys on the keypad and append each one to a list 'while len(List) < 6', but nothing is saved into my Python3 app until they press the Enter key on the keypad.
I could just instruct them to press in their 6 digits and then press Enter, but I would like to eliminate the "press Enter" as we have other keypads (commercially bought) around the Shop that do this, I just don't know how.
The output can be a string, so how can I concatenate six keypad inputs into one string without pressing "Enter' ?
Thanks in advance.
Statistics: Posted by rogerX19 — Wed Jul 24, 2024 8:48 pm