I have created a menu on a Pixl, and this is normally controlled with the small buttons on the card.
I would like, instead, to control this menu with external buttons connected to D1 ... D4.
To understand what the internal events handlers of the menu really do, I tried to replace the setWatch calls by the suggestions of the link Graphical Menu:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have created a menu on a Pixl, and this is normally controlled with the small buttons on the card.
I would like, instead, to control this menu with external buttons connected to D1 ... D4.
To understand what the internal events handlers of the menu really do, I tried to replace the setWatch calls by the suggestions of the link Graphical Menu:
It works for a simple menu, but not for editing the value of a number, for example.
So the questions are:
Many thanks in advance.