Check this thread out: UI Module w/ Buttons, Checkboxes,... for Display w/ Touchscreen. It uses a bit different code for the touch screen, but the software interface should be the same...
The challenge was to make the behavior fast. In my case the communication with the display was serial. Using parallel interface would make it faster.
That's very nice work! Did you take it any further than the buttons and checkboxes?
I'm taking a little different approach with object classes, so the UI elements are easily accessed and can be modified after creation. I haven't examined your code closely (and will), so there may be benefit in continuing this project...
© Espruino, powered by microcosm.
Report a problem