Closed tomsci closed 2 years ago
OK I think this is about ready now. Things that work:
App
based model, via the new App
subclass UguiApp
, including our power saving tricksapp.keyboard_prompt()
to get input from the userThings that don't work:
@MatthewWilkes what do you think?
@tomsci Apologies, thought I'd already commented on this. I'm getting intermittent resets, but I think this might be a RAM issue. The code LGTM, so long as you're not getting resets on your more productioney board.
I haven't seen any reset issues myself. I've yet to write anything significant in ugui (I've been C&Ping the examples mostly, for testing) so I'm not sure I have a good feel for what it's actually like to use. But it seems to mostly work and we don't have time to do anything else, so...
Agreed. I'm relatively confident the resets are a red herring. I say go for it.
From https://github.com/peterhinch/micropython-micro-gui
and integrate with our App model.