CircuitPython 5.0.0
5.0.0
This is CircuitPython 5.0.0, the latest major revision of CircuitPython, and is a new stable release.
5.0.0 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 microcontroller families, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy to select the correct file and language for your board. The downloads page is here. Downloads are no longer available from the GitHub release pages because of the large number of files for each release.
Installation
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 and improvements since 4.1.2
- Many improvements to
displayio
- Revamped refresh API
- Grayscale OLED support
- e-paper display support
- Groups can be hidden
- Many
_bleio
improvements- Renamed
bleio
to_bleio
to emphasize one should use the BLE library and that_bleio
's API may change without a major CircuitPython version bump - Central support
- Client support
- Pairing and bonding support
- Renamed
- Many audio fixes and improvements
- MP3 decoding support
- PWM audio out
- nRF52840 I2S support
- Mixer moved to
audiomixer
and now supports per-voice volume
- Finalized
_pixelbuf
API for RGB pixel speedups - Additional chip families with beta support:
- STM32F4
- iMX RT 10xx
- CXD56 (Sony Spresense)
- Added Korean translation
- Many translation improvements
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 latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
51 New boards since 4.1.2
- Adafruit Bluefruit Sense
- Adafruit Circuit Playground Bluefruit
- Adafruit Circuit Playground Express with displayio
- Adafruit Clue nRF52840 Express
- Adafruit Edge Badge
- Adafruit Feather M7 1011
- Adafruit Feather STM32F405 Express
- Adafruit Itsy Bitsy nRF52840 Express
- Adafruit Metro nRF52840 Express
- Adafruit Monster M4SK
- Adafruit PyPortal Pynt
- Adafruit PyPortal Titano
- Alethea Flowers Winterbloom Sol
- ARAMCON Badge 2019
- Arduino NANO 33 BLE
- Arduino NANO 33 IoT
- arturo182 Feather MIMXRT1011
- arturo182 Feather MIMXRT1062
- arturo182 Serpente
- Cedar Grove Studios StringCar M0 Express
- Elecrow PYB Nano v2
- Espruino Pico
- Espruino WiFi
- George Robotics Pyboard
- keithp.com Snekboard
- KittenBot Meowbit
- Null Bytes Labs CircuitBrains Basic
- Null Bytes Labs CircuitBrains Deluxe
- NXP MIMXRT1010 Eval Kit
- NXP MIMXRT1020 Eval Kit
- NXP MIMXRT1060 Eval Kit
- n°Garage Ndbit6
- Oddly Specific Objects Open Book
- OSHWA Open Hardware Summit 2020 Badge
- PJRC Teensy 4.0
- Radomir Dopieralski PewPew M4
- Robot Exploration Lab PyCubed
- Robotics Masters Robo HAT MM1 M4
- Seeed Seeeduino XIAO
- Sarfata shIRtty
- Sony Spresense
- SparkFun Qwiic Micro w/o Flash
- SparkFun Qwiic Micro w/Flash
- SparkFun SAMD51 Thing Plus
- ST STM32F407 Discovery Kit
- ST STM32F411 Discovery Kit
- ST STM32F412 Discovery Kit
- Teknikio Bluebird
- TZT STM32F411CE Black Pill
- XinaBox CC03
- XinaBox CS11
Known Issues
displayio
operations that read from an SD card (e.g.,OnDiskBitmap
) will interfere with other SD card operations and can cause lockup. To work around this problem, do not read or write files on the SD while the display is updating, and vice versa.- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord, including @3ach, @adafruit, @AdinAck, @aine, @albang, @alexwhittemore, @AndrewTribble, @anecdata, @anneb, @anne B, @AnthonyDiGirolamo, @Anton-2, @antonio, @ardnew, @arturo182, @ATMakersBill, @becky-lou, @bitbank Mr. Optimization, @bmeisels, @brentru, @C47D, @callmeraffiq, @CarlFK, @carternuson, @cater, @caternuson, @cbyr2401, @CedarGroveStudios, @cgrover, @charlesburnaford, @_cli_ninja, @codeNsolder, @CollinCunningham, @cr1901, @CSchmitz, @CudaCoreRoo, @curt Olson, @dalegrover, @Dar, @darkmusic, @Dar-Scott, @dastels, @davep, @DavePutz, @DavidGlaude, @dcbricetti, @ddiminnie, @deanm1278, @deshipu, @devoh, @dglaude, @dhalbert, @dherrada, @diegoMini+, @dmgrime, @dmopalmer, @dpgeorge, @DrewFustini, @DudeImOnly6, @Duewester, @dunkmann00, @dhalbert, @edspark, @fede2, @fgallaire, @FoamyGuy, @Frank.H, @gallaugher, @geekguy, @gotfredsen, @graham, @hathach, @hexthat, @hierophect, @hukuzatuna, @hybotics, @iayanpahwa, @iot49, @iraytrace, @jackdanielsmurphy, @jamesbowman, @jasonp, @jedgarpark, @jepler, @Jerryn, @jerryneedell, @JoeBakalor, @joey, @joeycastillo, @josh, @jp, @jpecor, @KalbeAbbas, @kamtom480, @kattni, @kdb424, @kevinjwalters, @kickbutts, @KingerNorth, @KittenCanaveral, @kjw, @klardotsh, @ladyada, @lgnashold, @loganwedwards, @madbodger, @maholli, @makermelissa, @marius_450, @Marius-450, @matthewnewberg, @MikeB, @MrCertainly, @mr. Certainly, @Mr-Coxall, @mscosti, @mubes, @mwelling, @mytechnotalent, @ndGarage, @neubauek, @nickzoic, @nis, @ntavish, @ntoll, @OldCrow, @osterwood, @pdp7, @pdp7, @pigrew, @pt, @ptorrone, @rafa-gould, @rdagger, @reply2jh, @Retoc, @rhooper, @sajattack, @santaimpersonator, @sarfata, @scs217, @Senuros, @shane, @shazz, @siddacious, @s-light, @sommersoft, @SouthernDragon, @stargirl, @tammymakesthings, @tannewt, @TG-Techie, @theacodes, @theodox, @ThomasAtBBTF, @timvgso, @timvictor, @tsupplis, @urish, @v923z, @wallarug and surely more we have missed. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Troubleshooting
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.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.