Commit Graph

1720 Commits

Author SHA1 Message Date
Hel Gibbons dc121aa4f1 add badger w examples readme 2023-02-17 16:43:27 +00:00
Hel Gibbons ed021665e6 update MicroPython readmes 2023-02-17 15:56:29 +00:00
Philip Howard 3bc0f019b2
Merge pull request #670 from pimoroni/patch-badger-2040w-release-uf2
CI: Upload Badger 2040 W examples .uf2 to release files.
2023-02-16 15:56:49 +00:00
Phil Howard 25efb91eae CI: Upload Badger 2040 W examples .uf2 to release files. 2023-02-16 15:42:08 +00:00
ZodiusInfuser 943ea1390a
Merge pull request #633 from pimoroni/feature/badger2040w
Badger2040w support
2023-02-16 10:43:25 +00:00
ZodiusInfuser 5a62a79a93 Renamed thick_line 2023-02-16 10:28:07 +00:00
helgibbons 2bdb05ce68 fix a couple of typos 2023-02-15 11:18:45 +00:00
Hel Gibbons 8a420ca0e4 update qrcode.py with badger w details 2023-02-14 15:21:46 +00:00
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