Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

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.

Thanks

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 ...io 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

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).

Installation

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.

 


We are angry, frustrated, and in pain because of the violence and murder of Black people by the police because of racism. We are in the fight AGAINST RACISM. George Floyd was murdered, his life stolen. The Adafruit teams have specific actions we’ve done, are doing, and will do together as a company and culture. We are asking the Adafruit community to get involved and share what you are doing. The Adafruit teams will not settle for a hash tag, a Tweet, or an icon change. We will work on real change, and that requires real action and real work together. That is what we will do each day, each month, each year – we will hold ourselves accountable and publish our collective efforts, partnerships, activism, donations, openly and publicly. Our blog and social media platforms will be utilized in actionable ways. Join us and the anti-racist efforts working to end police brutality, reform the criminal justice system, and dismantle the many other forms of systemic racism at work in this country, read more @ adafruit.com/blacklivesmatter

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 code.org, 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.

Join 20,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — How 3M is able to ramp up production of N95 masks

Wearables — Marker, meet flower

Electronics — Footprint Fail!

Python for Microcontrollers — The Python on Microcontrollers Newsletter: Adafruit CLUE, Nina and Thea, and much more! #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF

Adafruit IoT Monthly — Repurposed Smart Home Displays, Open-Source 5G Networks, and more!

Microsoft MakeCode — Black Girls Code Virtual Camps

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

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — COMING SOON – Filtering Mask with Math Pattern

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



1 Comment

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

Sorry, the comment form is closed at this time.