NewsOpen Source Software

CircuitPython version 6.1.0 is available

Adafruit, the company producing the well-known and community loved circuit boards and sensor chips, announced the release of CircuitPython 6.1.0.

CircuitPython is a Python-based programming language to read data from and control boards and sensors. It can easily be installed through Python's pip (here for a Raspberry Pi):

root@raspberrypi:~# sudo pip3 install --upgrade adafruit-python-shell
root@raspberrypi:~# wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py
root@raspberrypi:~# sudo python3 raspi-blinka.py
Blinka is the name of the Python (snake) and the mascot of CircuitPython
Blinka is the name of the Python (snake) and the mascot of CircuitPython

Existing users upgrading from the previous release 6.0.1 (or earlier) should note the following breaking changes:

  • i2cslave is now i2cperipheral and the class in it is changed as well.
  • The stop kwarg has been removed from I2C.writeto(). If no stop is desired, then use writeto_then_readfrom.
  • The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use busio.I2C to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt
  • _bleio.ConnectionError has be removed. Code will now raise the native ConnectionError instead.

Claudio Kuenzler
Claudio has been writing way over 1000 articles on his own blog since 2008 already. He is fascinated by technology, especially Open Source Software. As a Senior Systems Engineer he has seen and solved a lot of problems - and writes about them.

You may also like

Leave a reply

Your email address will not be published. Required fields are marked *

More in:News