Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All UI elements seem to fail on uiExampleAllPixl.js #585

Open
cmumford opened this issue Nov 9, 2020 · 3 comments
Open

All UI elements seem to fail on uiExampleAllPixl.js #585

cmumford opened this issue Nov 9, 2020 · 3 comments

Comments

@cmumford
Copy link

cmumford commented Nov 9, 2020

The UI elements in uiExampleAllPixl.js seem to fail in a variety of ways on my 2v08 PIxl.js device. If I use the lower-left button to navigate focus to an item, and then press the lower-right button I get the following errors, depending on the control:

Execution Interrupted during event processing.
New interpreter error: MEMORY

or:

id: r1.c val: S untouch focused
Execution Interrupted during event processing.

or:

id: b3 val: 3 untouch focused
c: sli c: sli id: s2 v:  f: 0000 1000 0110 undefined
Execution Interrupted during event processing.

However, I can control the backlight.

@gfwilliams
Copy link
Member

Did you upload to RAM, or to Flash?

uiExampleAllPixl.js is a bit of a brutal test on the Pixl - loading everything in at once.

Chances are because of the complexity of the UI framework, loading the whole thing and the example into RAM is just too much for it to work reliably. If it works in Flash then I can add some comments to the top of the example.

@cmumford
Copy link
Author

cmumford commented Nov 9, 2020

It's a little better if saving to flash. The UL/LL buttons seem to navigate focus (but seems to skip values, I wonder if there is a separate debouncing issue?). The UR button does nothing (I'm guessing that's expected). But, if I select anything (Large/small) buttons, and press the LR button then I get something like:

id: r1.a val: L untouch focused

@gfwilliams
Copy link
Member

@allObjects do you have any thoughts about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants