pimoroni-pico/micropython/examples/tufty2040
LionsPhil 033157503b Rewrite the Tufty2040 main menu somewhat
Primarily motivated to get almost everything out of globals and fix
issue #631. This is a stripped-down version of the gist there without
the memory debugging and reboot-into-direct-boot mode.

Mostly move things to functions. Clean up some dead code and comments.
I think the biggest win is not actually the PicoGraphics framebuffer,
which is well-behaved, but random temporary floats that were leaking
previously.

Also type-annotated and lints clean.

Fixes #631. (As much as I think is possible.)
2023-02-12 12:33:28 +00:00
..
awesome_game.py Tufty2040: Tidy up examples. Wavy Message. 2022-06-17 15:55:32 +01:00
battery.py Tufty2040: MicroPython examples. 2022-06-17 15:15:19 +01:00
button_test.py Add boot button to button test, new LED PWM example 2022-06-21 10:40:58 +01:00
clock.py Tufty2040: MicroPython examples. 2022-06-17 15:15:02 +01:00
led_pwm.py Add boot button to button test, new LED PWM example 2022-06-21 10:40:58 +01:00
main.py Rewrite the Tufty2040 main menu somewhat 2023-02-12 12:33:28 +00:00
name_badge.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00
pride_badge.py Fixed chevron size mismatch. 2022-09-06 20:13:16 -07:00
retro_badge.py Tufty2040: MicroPython examples. 2022-06-17 15:15:19 +01:00
s4m_ur4i-pirate-characters.rgb332 Tufty2040: Tidy up examples. Wavy Message. 2022-06-17 15:55:32 +01:00
s4m_ur4i-pirate-tilemap.rgb332 Tufty2040: Tidy up examples. Wavy Message. 2022-06-17 15:55:32 +01:00
sketchy_sketch.py Tufty2040: Tidy up examples. Wavy Message. 2022-06-17 15:55:32 +01:00
squirrel.jpg Tufty2040: MicroPython examples. 2022-06-17 15:15:19 +01:00
tufty2040_solarized.py Tufty2040: Solarized example. 2022-06-13 20:12:03 +01:00
wavy_message.py Tufty2040: Tidy up examples. Wavy Message. 2022-06-17 15:55:32 +01:00