|
On March 2, 2020, Adafruit announced the official release of CircuitPython 5.0.0.
5.0.0 has many improvements and enhancements, including grayscale OLED and e-paper displays, adding a lot of support and improvements for BLE, support for the STM32F4, iMX RT10xx and Sony Spresense microcontroller families, and PWM audio support.
New features and improvements since 4.1.2
- Many improvements to displayio
- Improved refresh API
- Grayscale OLED support
- E-paper display support
- Groups can be hidden
- Lots of improvements to bleio
- Renamed bleio to _bleio to emphasize that one should use and that its API may change without a major CircuitPython version bump to _bleio
- Central support
- Customer Support
- Pairing and bonding support
- Audio fixes and improvements
- MP3 decoding support
- PWM Audio Output
- nRF52840 I2S Support
- The mixer has been moved to audiomixer and supports per-sound volume
- RGB pixel acceleration API for pixelbuf
- Other chip series supported:
- STM32F4
- iMX RT 10xx
- CXD56 (Sony Spresense)
- Added Korean translation
- Many translation improvements
Breaking changes and deprecations from 4.x
- Improves internal file system definitions and may overwrite existing files, so make sure to back them up before updating!
- The bleio module was renamed to _bleio to represent that it is only used to write BLE libraries, and its API may change between CircuitPython minor versions. There are many incompatible changes to _bleio as of 4.0.0. Please use the latest for end-user BLE programming.
- The displayio refresh API has been updated to be simpler. wait_for_frame and refresh_soon have been removed. In both 4.x and 5.x, autorefresh automatically refreshed the display, so it can be removed. The new auto_refresh property and refresh() function can be used to control when and at what specific rate the screen refreshes.
- Moved audioio.Mixer to audiomixer.Mixer , which is only available in M4. Moved audioio.RawSample , and audioio.WaveFile to the new module audiocore . However, for backward compatibility, they are still provided in audioio . They will be removed in audioio 6.0.0. Thanks @jepler.
- Added I2C.writeto_then_readfrom() . Deprecated stop= arg which will be removed in 6.x. Use I2C.writeto_then_readfrom() instead.
- re removed from the CircuitPlayground Express Display version.
- The gamepad was removed from the CircuitPlayground Express Crickit build.
51 new boards added since 4.1.2
Known Issues
- Operations that read from the SD card (such as OnDiskBitmap ) will interfere with other SD card operations and may cause lockups. To fix this, do not read or write files on the SD card while the display is updating, or vice versa .
- See https://github.com/adafruit/circuitpython/issues for other issues.
|