Peter Hinch
Peter Hinch
In general with `asyncio` applications it's best to reset the target between runs. I'll give some thought to making the delay configurable but I'm puzzled why you found it necessary....
I have pushed an experimental encoder driver that may help with your problem. Go to the branch `encoder_driver` and copy the file `encoder.py` to `gui/primitives/' on your target. You'll need...
I have updated `main` with an improved encoder driver. If there is still a need to change the default time delay, please raise a new issue with a clear description...
I have no plans to implement this. User requirements are likely to be varied. Some would want to support navigation, with data entry in the current field. Alphanumeric support would...
The symbol is the `CloseButton`: just remove that line to get rid of it. `micro-gui` is not optimisd for such a tiny screen, and I've never investigated the sort of...
Here is the general approach I would use. Use micro-gui. Assign 3 unused pins to Button objects and use them to initialise the GUI. Their job is purely to allow...
I'm sorry but I am far too busy on another project to write and test a demo for you. I am convinced that micro-gui is the best, and simplest, approach....
`Button` objects are on-screen widgets. `Pushbutton` objects are physical pushbuttons. In your final application you won't have any `Button` instances. What I am suggesting is that you implement `Pushbutton` instances...
See [the Pushbutton docs](https://github.com/peterhinch/micropython-async/blob/master/v3/docs/DRIVERS.md#41-pushbutton-class). You use the `press_func` method to assign a callback.
I think importing on demand will work. If you want a modular design this is fine, but this way of working won't save resources. The GUI only instantiates the `Screen`...