Tweet

Replying to @josecastillo

This one’s fun because it’s actually the *exact same code* running on a PyGamer and a PyPortal. Touchscreen and focus-based UI from the same code; just a few defines at the top to handle the different screen sizes. (it is a memory hog tho; room to improve) https://github.com/joeycastillo/circuitpyui/blob/main/examples/Cross-Platform/mp3.py

(original)