- Jun 11, 2023
-
-
q3k authored
This uses atomics to lock out concurrenct writes/reads, and fixes some potential null pointer dereferences.
-
q3k authored
We can't run this as it uses old display_* calls. For historical use we have git history.
-
q3k authored
This removes some leftover Python code that still used the old display_* calls for drawing instead of ctx. We are now left only with display_update, which we will replace by the new graphics stack soon.
-
q3k authored
Sometimes mpy code requests ctx too early, before the display (and thus ctx) are initialized. This is a quick-and-dirty workaround as we're planning on getting rid of this code path anyway.
-
q3k authored
This is not needed on the badge, and `import main` in boot.py actually breaks mpremote.
-
q3k authored
-
q3k authored
-
q3k authored
Stupidly large diff, I got carried away. This makes the simulator one step closer to be usable: we now have petal input and an actually fast UI/renderer.
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
-
q3k authored
This implements a basic Python simulator for the badge. It currently can't do much other than just displaying the main selection screen, as it implements no inputs.