2897 views|1 replies

1w

Posts

26

Resources
The OP

CircuitPython 5.0.0 released [Copy link]

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.

Latest reply

Manually like!   Details Published on 2020-3-5 19:52

423

Posts

0

Resources
2

Manually like!


Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list