Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.

CircuitPython 5.0.0 Beta 3 released!
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CircuitPython 5.0.0 Beta 3 released!

by tannewt on Wed Jan 08, 2020 7:14 pm

From the GitHub release page:
This is a Beta Release
This is release 5.0.0 beta.3. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.

When you find a bug please check the current known issues and file an issue if something isn't already known.

5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontrollers, and PWM audio support.

Download from
Downloads are available from! The site makes it easy to select the correct file and language for your board. The downloads page is here.

To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.

Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).

New Features, Updates, and Fixes since 5.0.0 Beta 1
  • Initial support for the iMX RT10xx microcontroller line from NXP. Huge thanks to @arturo182.
  • _pixelbuf's API has been finalized and will speed up the DotStar and Neopixel libraries once they are updated. Huge thank you to @rhooper and @kattni.
  • Added _bleio.PacketBuffer to allow for packet oriented BLE protocols such as the Apple Media Service and BLE MIDI. Thanks to @tannewt.
  • File creation time on nRF now uses the RTC correctly. Thanks to @iot49.
  • displayio now supports both displays on Monster M4SK. Thanks to @Marius-450
  • audiomp3.MP3 has been named audiomp3.MP3Decoder so that it makes sense with the new .file attribute that enables decoder reuse. Thanks to @jepler
  • Numerous audio related fixes. Thanks to @jepler.
  • Numerous USB fixes. Thanks to @hathach
  • nRF UARTs are reset correctly. Thanks to @tannewt
  • Added board.VOLTAGE_MONITOR to feather_stm32f405_express. Thanks to @jerryneedell
  • Correct UART pin mapping on hallowing_m4_express. Thanks to @tannewt and fnord
  • The frozen HID library is now 4.0.0 on CPX and pIRkey which requires passing in a list of HID devices.
  • A doc fix. Thanks to @dglaude.
New Boards
Find downloads for all boards, including these, at

New since 5.0.0-beta.2
Breaking Changes and Deprecations from 4.x
  • 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
  • The bleio module has been renamed to _bleio to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in _bleio since 4.0.0. Please use the latest adafruit_ble library for end-user BLE programming.
  • The displayio refresh API has been revamped to be simpler. wait_for_frame and refresh_soon have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The new auto_refresh property and refresh() function can be used to control when the screen refreshes and at a specific rate.
  • Moved audioio.Mixer to audiomixer.Mixer, which is only available on M4s. Moved audioio.RawSample, and audioio.WaveFile to the new module audiocore. However, for backwards compatibility, they are still available in audioio. They will be removed from audioio in 6.0.0. Thanks @jepler.
  • Added I2C.writeto_then_readfrom(). Deprecate stop= arg which will be removed in 6.x. Use I2C.writeto_then_readfrom() instead.
  • Removed re from CircuitPlayground Express Display build.
  • Removed gamepad from CircuitPlayground Express Crickit build.
Known Issues
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @albang, @arturo182, @cbyr2401, @CedarGroveStudios, @Dar-Scott, @deshipu, @dglaude, @dhalbert, @dmgrime, @dpgeorge, @gotfredsen, @hathach, @hexthat, @hierophect, @iayanpahwa, @iot49, @jepler, @jerryn, @JoeBakalor, @KalbeAbbas, @kattni, @ladyada, @makermelissa, @Marius-450, @rafa-gould, @rhooper, @sarfata, @tannewt, @theacodes, @urish, @wallarug and surely more we have missed. Join us on the Discord chat to collaborate.

Documentation is available in

Here are all the changes since 5.0.0-beta.2.

This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).

Check out this guide for info on common problems with CircuitPython. If you are still having issues, then post to the Adafruit Support Forums and join Discord.

Posts: 1727
Joined: Thu Oct 06, 2016 8:48 pm

Re: CircuitPython 5.0.0 Beta 3 released!

by chumfy on Sun Mar 01, 2020 10:33 pm

I notice that pIRkey is mentioned . . . it seems to have been "Coming Soon" for over a year now. Any updates?

Posts: 2
Joined: Sat Aug 23, 2014 8:49 am

Re: CircuitPython 5.0.0 Beta 3 released!

by tannewt on Mon Mar 02, 2020 8:39 pm

Nothing imminent. The performance of the original design was subpar so it was pulled from the shop. It'll need revision before being re-released.

In the meantime I've had success with an nRF52840 feather and IR receiver:

Posts: 1727
Joined: Thu Oct 06, 2016 8:48 pm

Re: CircuitPython 5.0.0 Beta 3 released!

by chumfy on Tue Mar 03, 2020 11:22 pm

Thanks for the update. What I was really interested in was the form factor (direct USB-A plugin) + CircuitPython + HID. The Serpente is very interesting, but it's USB-C . . .

Posts: 2
Joined: Sat Aug 23, 2014 8:49 am

Please be positive and constructive with your questions and comments.