Circuit Python 2.1.0 Released!

From the GitHub release page (downloads available there):

We’re pleased to bring you CircuitPython 2.1.0, with many new features and many bugfixes. Notably, Trinket M0 and Gemma M0 now include pulseio (PWM) support.


Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or discord: @asherlie, @kattni , @caternuson, @KurticusMaximus (Kurt H), @jerryneedell, Sigafoos, @fabitencourt, @hukuzatuna, scruffynerf, Janisku7, ogredrew, @mrmcwethy, NorthernPike, cascade, @ntoll, CGrover, Pyrrhis Productions, TitiMoby, dastels, jramsdale, @tdicola, brad, Surrend, microwattbott, Becky Button, @dglaude, ATMakers, Instinctive, histo, Wolf, siddacious, @deshipu, caitlinsdad, smartRF, HappyDay, @deanm1278, @jedgarpark, Noe, Andon, adafruit, @ladyada, @tannewt, @dhalbert, dobra-dobra, Factory Factory, Mr. Certainly, and surely more we have missed. Join us on the Discord chat to collaborate.

Notable New Features

  • All boards, including Trinket M0, Gemma M0, and Feather M0 Basic, now support pulseio, which provides PWM and other other pulse based input/output.
  • The touch/no-touch threshold computation for TouchIn pins has been adjusted to be more sensitive. Added .raw_value and .threshold value access. Thanks to @ladyada for finding and testing.
  • ESP8266: Updated built-in neopixel support and library to match M0 boards. Thanks @jerryneedell.
  • The Circuit Playground Express release now includes several libraries built into the firmware. This saves considerable RAM when they are imported. To enable, remove the library .mpy files from your sys.path (e.g., from your lib/ directory). To override, put a newer version on your sys.path. The modules included are:
  • New gamepad module scans pins for debounced button presses regularly in the background. Thanks to @deshipu.
  • Added names for analog pins on Trinket M0. Update by @jerryneedell.
  • M0 boards: Turned on higher current drive capability for DigitalOut pins.
  • Status NeoPixel or DotStar brightness is now adjustable (#246). Thanks to @asherlie.
  • Switched to using a smaller version of the math library to make room for other features. Complex number support is also turned off on non-Express boards to make room.
  • Support added for hacked Trinket M0 with added SPI flash (Trinket M0 Haxpress). Thanks to @deshipu.

Notable Bugfixes

  • Pin A0 is no longer available as a TouchIn pin on Circuit Playground Express. It is unreliable because it is also connected to the on-board speaker
  • All objects (AnalogIn, DigitalInOut, etc.) now raise an exception if you try to reuse them after they are deinitialized (deinit()). Previously, reuse might cause crashes. Thanks to @tdicola for uncovering.
  • Reset PDIMIn pins after deinit(). Thanks @tdicola for finding this problem.
  • ESP8266: Fixed problems with SPI.
  • Reinitialize the ADC before every use. Thanks @ladyada for reporting erratic ADC results.
  • If CircuitPython restarts in safe mode, it does not attempt to re-create the SPI or internal flash filesystem if it appears to be damaged or missing. @tdicola noticed that this may occur when a battery runs down.

Known Issues

  • If you use the gamepad module and then do a soft-reset, CircuitPython will crash. This will be fixed in the next release.


Documentation is available here.

Here are all the changes since 2.0.0.

This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).


To update to CircuitPython 2.1.0:

To install our libraries:

  • For Express boards, simply download the latest library bundle and copy the lib folder onto your CIRCUITPY drive. (Update: 2.1.0 bundle now available, with new and updated libraries.)
  • For Gemma M0 and Trinket M0, the library bundle is too large. Download a smaller set of 2.0.0 libraries and files that are shipped with the boards: Gemma M0 files; Trinket M0 files. Update the supplied libraries with ones from the 2.1.0 bundle if you wish.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here:

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community!

CircuitPython – The easiest way to program microcontrollers –

Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !

1 Comment

  1. […] Circuit Python 2.1 is out! […]

Sorry, the comment form is closed at this time.