Version 1.18.7
Marvellous Motors & Exquisite Encoders
Following on from the Servo support @ZodiusInfuser added to the last release, they have now added motor support to Pico. This includes both PWM and PIO flavours, letting you drive up to 15 motors at once!
That's not all. This release also comes with PIO-based encoder support, letting you connect up to 8 quadrature rotary encoders to your projects. Use these as part of your project's interface, or to give feedback on the position and speed of your motors.
These are mostly to drive our own products, but you can use these libraries - both C++ and MicroPython-wrapped-C++ - to drive motors and read encoders connected to any RP2040 board.
Notable Fixes
- Fixed a bug that caused SCD41 to lock up
- Fixed breakout_roundlcd graphics primitives in MicroPython
- Fixed line and triangle primitives for breakout LCDs
- Badger2040: Fixed hang when calling "partial_update" in MicroPython
Known Issues
Blinka and PlatformDetect versions have been bumped and some more core files added, unfortunately our build is getting a little bloated- we've included too many batteries and there may be cases where this causes MicroPython to crash quite spectacularly and require re-flashing. (because the binary is so big it overwrites its very tippy top when the filesystem is created or written to) We're looking into this!
The Winds Of Change Are Blowin'
To try and whittle back our very chunky MicroPython build, we have a project in the works to unify all of our (ST7789-based) Display products under one driver. This includes Pico Display, Pico Display 2.0" and the 240x240 round and Square LCDs. The coded needed to drive these products will change somewhat, and we'll have a migration guide ready to help guide you.
A benefit of this change is that you can- if you're determined- use multiple displays. Watch this space, we're hoping this will find its way into the next release!
See the pending PR for more details: #327
What's Changed
- Update Badger readme to include bitmap fonts by @helgibbons in #337
- Stop & reinit SCD41 to fix lockup for #338 by @Gadgetoid in #340
- fix micropython line and triangle primitives for LCD displays by @cedel1 in #344
- Updating the samples README to reflect current contents by @andypiper in #345
- Badger 2040: Fix partial update hang for #348 by @Gadgetoid in #353
- Add vl53l5cx driver, MicroPython bindings and examples by @Gadgetoid in #347
- Bump Blinka and PlatformDetect for #349 by @Gadgetoid in #350
- Added support for motors and encoders by @ZodiusInfuser in #352
- Use I2C pins constants for #351 by @Gadgetoid in #355
New Contributors
Full Changelog: v1.18.6...v1.18.7