CircuitPython 3.0.0 Alpha 4!
3.0.0 is the latest major revision of CircuitPython and features new support for the SAMD51 (aka M4) and preliminary support for the nRF52 BLE chipset. It also features better memory utilization so more can be loaded in the same amount of space.
This is an alpha release of 3.0.0. Alpha releases do not have the complete API from 2.x and are only meant for testing. (Beta release will have the full API but still need work.) Please use the latest stable release when first starting with CircuitPython. It is stable.
When you find a bug please check the current known issues and file an issue if something isn’t already known.
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 in CircuitPython 3.0.0
Support for SAMD51 based M4 boards from Adafruit. Thanks @tannewt, @dhalbert, @siddacious and all the M4 testers.
Preliminary support for nRF52 BLE capable boards. Thanks @glennrub, @tralamazza, @microbuilder, @arturo182, @hathach and @jerryneedell.
Long-lived heap allocations are better compacted. (Video) Thanks @tannewt and @dhalbert.
Read the microcontroller’s unique id through microcontroller.cpu.uid
. Thanks @sommersoft!
UART can now be created with only one direction. Thanks @dhalbert!
Files to prevent mac from indexing the drive are created automatically. Thanks @jepler!
*
and *=
implemented for array.array
. Thanks @jepler!
Implemented seeking to non-zero locations. Thanks @aykevl and @jepler.
Detect when USB has been plugged in with supervisor.runtime.serial_connected
. Thanks @sommersoft and @dhalbert.
Change file system label (CIRCUITPY by default) using storage.getmount("/").label
.
Add storage.erase_filesystem()
to make erasing the file system easy. Thanks @dhalbert!
atmel-samd: usb_hid support include Consumer Controls (aka multimedia keys). Thanks @dhalbert.
Code has been reorganized to ease sharing main code across ports.
PLOT OF THE WEEK!
VIDEO: Sensor graphing with plotter. CircuitPython + Mu + LIGHT
GUIDE: Sensor Plotting with Mu and CircuitPython – LIGHT
News from around the web!
Get Familiar with CircuitPython with These Great Resources
More CircuitPython BLINKA stickers for iOS. Get the app here
Mr Zbit’s Useful micro:bit links
A Python Interpreter Written in Python by Allison Kaptur
Over 9,500 developers from almost 150 countries participated to map an accurate landscape of the Python community
Solar Powered Internet Connected Lawn Sprinkler Project. Ideal for watering your flower bed or just keeping bunnies out of your backyard.
NeoPixel Manicure Guide from @sophy
Sensor Plotting with Mu Guide by @kattni
LED Trampoline Guide by @Noe, @Pedro and @kattni
Cosplay Glow Fur Raver Bandolier Guide by @Erin St Blaine
Python 2.7.15 release candidate 1 is now available
CircuitPython Weeky Meeting Recording for April 16th, 2018
Upcoming events!
May 2018 – The PyCon 2018 conference, which will take place in Cleveland, is the largest annual gathering for the community using and developing the open-source Python programming language. It is produced and underwritten by the Python Software Foundation, the 501(c)(3) nonprofit organization dedicated to advancing and promoting Python. Through PyCon, the PSF advances its mission of growing the international community of Python programmers. Adafruit is a sponsor, we’ll see you in the goodie bag 🙂
Latest releases
CircuitPython’s stable release is 2.2.4 and its unstable release is 3.0.0-alpha.4. New to CircuitPython? Start with our Welcome to CircuitPython Guide.
20180415 is the latest CircuitPython library bundle.
v1.9.3 is the latest MicroPython release. Documentation for it is here.
3.6.5 is the latest Python release.
Contribute!
The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. Join our Discord or post to the forum for any further questions.