-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ongoing dev for v0.0.2 #2
Conversation
Make sure we've documented halt - pimoroni/pimoroni-pico#594 And the caveat mentioned here - pimoroni/pimoroni-pico#449 And maybe also - pimoroni/pimoroni-pico#334 |
README.md
Outdated
|
||
### Badger 2040 | ||
|
||
1. Connect your Badger 2040 to your computer using a USB A to microB cable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be USB C for Badger and USB micro-B for Badger W :)
Bumped to build against Pimoroni Pico release v1.19.17 - https://github.com/pimoroni/pimoroni-pico/releases/tag/v1.19.17 |
ef40722
to
9869a7f
Compare
This version includes the MicroPython greedy heap, which is bad news for some of our modules.
v1.19.17 includes many fixes for compatibility with changes to MicroPython, specifically: micropython/micropython@c80e7c1. Requires C++17 enabling in .cmake files.
Holding down a button, or pressing a button with the "right" timing would keep the Badger on, despite the 3v3 en pin being turned off. This would result in abrupt power loss when the button is released, causing screen corruption.
Fix "import ntptime" breaking clock on Badger 2040 (non W). Use "is_wireless()" and don't squash unexpected errors.
Using `not badger2040.woken_by_button()` to determine if the display should be refreshed on first run prevented these examples from showing their initial display on battery.
Simplified image.py by removing help text and readme creation. Tried to avoid "state_save" right before updating the display.
It's too easy to accidentally trigger this when launching an app.
This module redirects `malloc` and `free` calls to MicroPython's heap, allowing C++ code and MicroPython's "greedy heap" to coexist. See: micropython/micropython#11116
No description provided.