Commit Graph

1762 Commits

Author SHA1 Message Date
Hel Gibbons 9bba17cc47 add missing .py 2023-02-13 17:39:13 +00:00
Philip Howard 05391d27cd
Merge pull request #668 from LionsPhil/menuredo
Rewrite the Tufty2040 main menu somewhat
2023-02-13 15:24:11 +00:00
Phil Howard cb82878cd2 Badger2040W: Add README.md for MicroPython. 2023-02-13 13:41:56 +00:00
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
Phil Howard 2952fd760e Badger2040W: Fix news text wrapping and URLs. 2023-02-10 22:15:09 +00:00
Phil Howard 0410b7c775 Badger2040W: Add thickness back. Better error backdrop. 2023-02-10 22:15:09 +00:00
Phil Howard 3f0efa9765 Badger2040W/CI: Bump MicroPython to 35524a6. 2023-02-10 22:15:09 +00:00
Phil Howard d7b9881c0f Badger2040W: Add pins.csv to board fixup. 2023-02-10 22:15:09 +00:00
Phil Howard a275f31c7a Badger2040W: (Try to) fix abrupt poweroff screen corruption. 2023-02-10 22:15:09 +00:00
Phil Howard 3a2a43f4b3 Badger2040W: Correct wakeup LED. 2023-02-10 22:15:09 +00:00
Phil Howard cbcd9edd9a Badger2040W: Fix wakeup and quit to launcher button handling. 2023-02-10 22:15:09 +00:00
Mike Bell 26eeb2b042 Badger2040W: Use partial update for seconds on clock 2023-02-10 22:15:09 +00:00
Phil Howard 2109d7fb37 Badger2040W: Move weather icons from examples dir to icons/. 2023-02-10 22:15:09 +00:00
Phil Howard 9ea196adb1 Badger2040W: Tidyup icons, crop to 52x52. 2023-02-10 22:15:09 +00:00
Phil Howard a70ce8a4a6 Badger2040W: Call wrapped-update in lib. 2023-02-10 22:15:09 +00:00
Phil Howard 16e99a5a89 Badger2040W: Bump MicroPython to 67fac4e. 2023-02-10 22:15:09 +00:00
Hel Gibbons d4273ebbcb Badger2040W: Add weather example and icons. 2023-02-10 22:15:09 +00:00
Phil Howard 7a2ffccf16 Badger2040W: Simplify clock, time is set via NTP. 2023-02-10 22:15:09 +00:00
Phil Howard 548e1fdbdb Badger2040: Add image path to badge.txt. 2023-02-10 22:15:09 +00:00
Phil Howard b5fb62c8f6 Badger2040W: Fix noise in icon files. 2023-02-10 22:15:09 +00:00
Phil Howard c56844ae69 Badger2040W: Fix clock network check. 2023-02-10 22:15:09 +00:00
Phil Howard c3ad87765d PicoGraphics: Extremely cursed thickness support for 1bit pens.
Experimental. There must be less cursed way to do this.
2023-02-10 22:15:07 +00:00
thirdr 6e44434e7d fixed quit to launcher 2023-02-10 22:12:02 +00:00
Phil Howard de8ed26460 Badger2040W: Force wait for screen refresh finish. 2023-02-10 22:12:02 +00:00
Phil Howard 6349d45768 Badger2040W: Remove BUTTON_USER since it doesn't exist. 2023-02-10 22:12:02 +00:00
Phil Howard d8f9b81eca Badger2040W: Port ebook example. 2023-02-10 22:12:02 +00:00
Phil Howard 23f792caa9 Badger2040W: Finish core libs, add Badge. 2023-02-10 22:12:02 +00:00
thirdr 379a1cb3ef Badger2040W: New examples. 2023-02-10 22:12:02 +00:00
Phil Howard 6526787772 Badger2040W: Drop turbo clock from launcher. 2023-02-10 22:12:02 +00:00
Phil Howard 15dabdba1f Badger2040W: Fix very slow and very wrong __getattr__. 2023-02-10 22:12:02 +00:00
Phil Howard a02834be9e Badger2040: Port more examples. 2023-02-10 22:12:02 +00:00
Phil Howard f82e21018f Badger2040W: Remove font sizes from launcher.py. 2023-02-10 22:12:02 +00:00
Phil Howard 1dbc992180 Badger2040W: Fixes to launcher and badger libs. 2023-02-10 22:12:02 +00:00
Phil Howard 03d5224e3e Badger2040W: Use correct MicroPython manifest.py. 2023-02-10 22:12:02 +00:00
Phil Howard d1646e5d76 CI: Badger2040W: Fix deprecation warnings. 2023-02-10 22:12:02 +00:00
Phil Howard e859b39e11 Badger2040W: Fix linting, use micropython-lib urllib. 2023-02-10 22:12:02 +00:00
Phil Howard 2b3b1e4676 Badger2040W: Fix (blank line in) .uf2 manifest. 2023-02-10 22:12:02 +00:00
Phil Howard 984dbd5185 Badger2040W: Switch launcher to jpegdec, reorganise files. 2023-02-10 22:12:02 +00:00
Phil Howard 9bd29e0ef2 JPEGDEC: Fix iWidthUsed skip not advancing pixel pointer. 2023-02-10 22:12:02 +00:00
Phil Howard 81d9b2ab81 Badger2040W: Add examples and libs. 2023-02-10 22:12:02 +00:00
Phil Howard ac2da23c96 Badger2040W: Append filesystem. 2023-02-10 22:12:02 +00:00
Phil Howard c70043922a Badger2040W: Switch to PicoGraphics. 2023-02-10 22:12:02 +00:00
Phil Howard 21b4ff68d7 Change __bswap16 to __builtin_bswap16. 2023-02-10 22:12:02 +00:00
Phil Howard 6ea105bb03 MicroPython: Switch Badger2040 to m_new_class. 2023-02-10 22:12:02 +00:00
Phil Howard d25324d6c7 MicroPython: Add Badger2040W firmware build. 2023-02-10 22:12:02 +00:00
Philip Howard de8cb95ab4
Merge pull request #660 from pimoroni/patch/hub75_color_order
Add support to Interstate / HUB 75 for panels with different color orders
2023-02-10 21:43:28 +00:00
Philip Howard 5e135b8901
Merge pull request #667 from pimoroni/patch-pimoroni-pico-version
CI: Generate version.py for #664.
2023-02-10 21:36:02 +00:00
Phil Howard 1fc00ac5af CI: Generate version.py for #664. 2023-02-10 21:12:56 +00:00
Philip Howard 029b697cb1
Merge pull request #666 from MichaelBell/galactic-ghost-buster
Fix ghosting on the Galactic Unicorn
2023-02-10 19:59:04 +00:00
Mike Bell 3371b6c751 Select new row earlier to avoid lighting pixel on previous row very slightly 2023-02-10 10:36:56 +00:00