Membrane keypad: Difference between revisions

From embeddedTS Manuals
(Fix grammar, added link)
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/ts7553v2-utils →‎ https://github.com/embeddedTS/ts7553v2-utils))
 
Line 6: Line 6:
Will draw a box around the screen with some text.  When a button is pressed, it will display a block on the LCD above the button that has been pressed.  Please note that the [[#LCD|LCD device]] must first be set up and operational before this binary will launch.
Will draw a box around the screen with some text.  When a button is pressed, it will display a block on the LCD above the button that has been pressed.  Please note that the [[#LCD|LCD device]] must first be set up and operational before this binary will launch.


See the [https://github.com/embeddedarm/ts7553v2-utils sources in github] for more information on this demo and how it operates.
See the [https://github.com/embeddedTS/ts7553v2-utils sources in github] for more information on this demo and how it operates.

Latest revision as of 16:37, 17 January 2022

The 4 button membrane keypad allows for a 4 button input. These are set up on GPIO pins, and are connected to the system as a standard input event device. The four buttons are connected as arrow keys. An example binary is included in order to demonstrate the input capabilities of these buttons:

/usr/local/bin/keypad-test

Will draw a box around the screen with some text. When a button is pressed, it will display a block on the LCD above the button that has been pressed. Please note that the LCD device must first be set up and operational before this binary will launch.

See the sources in github for more information on this demo and how it operates.