Version 1.18.6
Better Badger, Fantastic Fonts, Wonderful-WiFi, Super Servos
This release is packed with changes for Badger 2040 and general Pico builds.
Better Badger
@MichaelBell has delved to sweep up any remaining unconverted apps from 1.18.5, making everything possible super power-friendly on Badger 2040. There's also a new over/underclocking API method to help you get the most out of your batteries and slightly improved wake handling
Fantastic Fonts
I've overhauled our font rendering, pulling Hershey and Bitmap fonts into their own libraries so they're easy to combine with different drawing libraries and behave the same everywhere they are used. Bitmap fonts will now handle characters like £, ° and many accented characters gracefully. Hershey fonts are lagging behind, but will substitute some accented characters rather than breaking entirely.
The end game is to try and bring support for all the useful characters from - https://www.utf8-chartable.de/
Unfortunately characters outside of this set will get exponentially more complicated to add, and we have to strike a balance somewhere.
As a result of this overhaul, Badger 2040 now supports three bitmap fonts which are demonstrated in the updated fonts app. For now, use these for non-English languages (or even English, since we have many accented loan words), displaying prices in pounds, or temperatures in degrees C.
Wonderful WiFi
I've merged a huge changeset that overhauls every single Pico Wireless function to use a standard pattern that's much easier to work with, debug and understand. I've tried to test this as best I can, but it may still contain bugs. Let us know via issues if you have... issues... with your wireless apps.
Super Servos
@ZodiusInfuser has completed a huge project to bring incredible 18-channel PIO servo support to Pico. This is mostly to drive our own products, but you can use these libraries - both C++ and MicroPython-wrapped-C++ - to drive servos connected to any RP2040 board.
What's Changed
- Updated path to esp32 drivers in /libraries/pico_wireless/pico_wireless.cmake by @deodre in #312
- Add example to set RV3028 RTC breakout by @helgibbons in #308
- Even better Badger wake handling by @MichaelBell in #316
- Badger2040: Improve help, info, qrgen by @MichaelBell in #318
- Badger2040: system_speed call, plus performance improvements by @MichaelBell in #325
- Adding support for Servos by @ZodiusInfuser in #259
- Hershey & Pixel fonts as libraries + Pixel fonts for Badger 2040 by @Gadgetoid in #326
- Reinitialize hardware after system clock change by @MichaelBell in #330
- Pico Wireless - ESP32 Driver Rewrite by @Gadgetoid in #328
- Badger2040: Update list app to use new system by @MichaelBell in #319
- Fonts: Ungracefully handle accented characters. by @Gadgetoid in #332
- Badger 2040: Support for multiple QR codes. by @jpwsutton in #333
New Contributors
Full Changelog: v1.18.5...v1.18.6