Skip to content

Releases: pimoroni/pimoroni-pico

Version 0.3.1

12 Nov 10:54
e249113
Compare
Choose a tag to compare

Downloads

Changes

From v0.3.1

Version 0.3.0 marks a MicroPython bump from v1.16 to v1.17 but is otherwise the same as v0.2.7.

MicroPython v1.17 brings a handful of changes, the most notable of which is f-strings. For a complete list, see - https://github.com/micropython/micropython/releases/tag/v1.17

See version 0.2.7 for changes to our modules - https://github.com/pimoroni/pimoroni-pico/releases/tag/v0.2.7

Supported Breakouts

Version 0.3.0 - MicroPython v1.17

11 Oct 17:21
0bd8afa
Compare
Choose a tag to compare

Downloads

Changes

Version 0.3.0 marks a MicroPython bump from v1.16 to v1.17 but is otherwise the same as v0.2.7.

MicroPython v1.17 brings a handful of changes, the most notable of which is f-strings. For a complete list, see - https://github.com/micropython/micropython/releases/tag/v1.17

See version 0.2.7 for changes to our modules - https://github.com/pimoroni/pimoroni-pico/releases/tag/v0.2.7

Supported Breakouts

Version 0.2.7

07 Oct 11:40
f04127c
Compare
Choose a tag to compare

Downloads

Changes

Pico Wireless

Moved MicroPython HTTP library functions to "ppwhttp.py" and added many fixes to HTTP/HTTPS connection handling.

ppwhttp also supports routing and wildcard routes, see: 78d50c2

Misc

  • Add support for Pico Display 2.0"
  • Add support for PWM3901/PAA5100JE flow sensors
  • Add basic bringup/helper script for PicoSystem (will be replaced by a PicoSystem-specific MicroPython build)
  • Bumped Adafruit Blinka to 6.14.1
  • Add gamma correction to plasma

Supported Breakouts

Version 0.2.6

27 Aug 13:37
a108fdd
Compare
Choose a tag to compare

Downloads

Changes

  • Plasma: Fix soft reset bugs in WS2812 and APA102
  • Plasma: Initialize MicroPython alloc'd bytearray with SOF bytes for APA102 (fixes broken APA102 with user-supplied buffer)
  • Plasma: Do not try to delete[] a bytearray (or other not-driver-owned) buffer
  • Plasma: Flush pixels with extra clocks at end of stream- for single, blocking writes only (fixes stuck LEDs when soft resetting)
  • Plasma: Add get pixel method
  • Rotary: Add clear to reset counts
  • IO Expander/Rotary: Fix bug with library crashing the encoder breakout
  • Pico Unicorn: fix hardfault when soft resetting
  • Bumped Adafruit Blinka to 6.13
  • Bumped Adafruit PlatformDetect to 3.15.3

Supported Breakouts

Version 0.2.5

19 Aug 21:10
c4ea05a
Compare
Choose a tag to compare

Downloads

Changes

  • Plasma 2040 drivers
  • Support for WS2812 pixels using PIO
  • Support for APA102 pixels using PIO
  • New pimoroni.Analog for general purpose ADC reading- intended for current-monitoring (isense) on - for example - Plasma 2040

Supported Breakouts

Version 0.2.4

02 Aug 13:51
bcde0b6
Compare
Choose a tag to compare

Downloads

Changes

  • Fix LCD breakout text scaling
  • Fix LCD breakout text hard-lock on non-string
  • Fix x/y position when drawing a single character
  • Fix default proximity LED duty cycle on LTR559 (Note: will dramatically change proximty values)
  • New RGBLED and Button C++ libraries + pure Python equivalents
  • New BH1745 driver
  • New BME680/BME688 driver
  • New BME280/BMP280 drivers

Supported Breakouts

Version 0.2.3

08 Jul 08:07
141a967
Compare
Choose a tag to compare

Downloads

Changes

  • Bumped from MicroPython v1.15 to v1.16 - adds machine.RTC
  • Fixed RV3038/breakout_rtc set_time to correctly set year in range 2000-2099

Built against MicroPython release v1.16 - https://github.com/micropython/micropython/releases/tag/v1.16

Supported Breakouts

Version 0.2.2

05 Jun 18:55
28a0a82
Compare
Choose a tag to compare

Downloads

Changes

  • Fixes to character position on Colour LCD 240x240 and 160x80
  • Fixed SPI trampling I2C in Pico Explorer library
  • Reset unused I2C pins when creating an I2C instance (prevents I2C weirdness when experimenting on the REPL)
  • Bumped Adafruit Blinka to 6.10.1
  • Bumped Adafruit PlatformDetect to 3.13.3

Built against MicroPython release v1.15 - https://github.com/micropython/micropython/releases/tag/v1.15

Supported Breakouts

Version 0.2.1

20 May 13:47
c393286
Compare
Choose a tag to compare

Downloads

Adafruit Blinka for CircuitPython library support

This release is identical to v0.2.0, old release notes have been included below for posterity.

We've baked Adafruit's Blinka and PlatformDetect libraries into a new release of MicroPython so you can mix and match Adafruit CircuitPython libraries with our in-house ones.

For more information on how to get started with CircuitPython libraries on MicroPython see Adafruit's guide here: https://learn.adafruit.com/circuitpython-libraries-on-micropython-using-the-raspberry-pi-pico/

Note: if you're using our Blinka + PlatformDetect MicroPython .uf2 then you do not need to follow Adafruit's MicroPython Installation or Blinka/PlatformDetect setup steps. You can skip straight to downloading the .py bundle (MicroPython does not support CircuitPython's .mpy files) from here - https://circuitpython.org/libraries - or grabbing .py libraries of your choice.

AWOOGA - ⚠️ I2C devices now use the "PimoroniI2C" class ⚠️

This release includes the recent changes merged in #129

Using I2C in MicroPython now requires an instance of the PimoroniI2C class, which is created once and passed into individual breakout classes for them to use.

The PimoroniI2C class has a __del__ method and finaliser, allowing Pico's I2C to be cleaned up during soft resets. This prevents an issue where using the wrong I2C pins would break I2C on a particular channel until the Pico is hard reset. A tricky situation for a device that... doesn't have a reset button!

See the Python examples for ... well ... examples of how to use the new I2C class with breakouts. For example, here's LTR559:

from pimoroni_i2c import PimoroniI2C
from breakout_ltr559 import BreakoutLTR559

PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5}
PINS_PICO_EXPLORER = {"sda": 20, "scl": 21}

i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN)
ltr = BreakoutLTR559(i2c)

Eventually you'll be able to construct a PimoroniI2C

Note: This PimoroniI2C class differs from machine.I2C since it's a direct port of the I2C class used to run out breakouts in C++. Interop may be possible at some point in the future but please understand that we are not raving lunatics and are making these odd, against-the-grain design choices because we want to re-use the C++ drivers in MicroPython.

Built against MicroPython release v1.15 - https://github.com/micropython/micropython/releases/tag/v1.15

Supported Breakouts

Version 0.2.0

19 May 11:08
cb958a7
Compare
Choose a tag to compare

AWOOGA - ⚠️ I2C devices now use the "PimoroniI2C" class ⚠️

This release includes the recent changes merged in #129

Using I2C in MicroPython now requires an instance of the PimoroniI2C class, which is created once and passed into individual breakout classes for them to use.

The PimoroniI2C class has a __del__ method and finaliser, allowing Pico's I2C to be cleaned up during soft resets. This prevents an issue where using the wrong I2C pins would break I2C on a particular channel until the Pico is hard reset. A tricky situation for a device that... doesn't have a reset button!

See the Python examples for ... well ... examples of how to use the new I2C class with breakouts. For example, here's LTR559:

from pimoroni_i2c import PimoroniI2C
from breakout_ltr559 import BreakoutLTR559

PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5}
PINS_PICO_EXPLORER = {"sda": 20, "scl": 21}

i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN)
ltr = BreakoutLTR559(i2c)

Eventually you'll be able to construct a PimoroniI2C

Note: This PimoroniI2C class differs from machine.I2C since it's a direct port of the I2C class used to run out breakouts in C++. Interop may be possible at some point in the future but please understand that we are not raving lunatics and are making these odd, against-the-grain design choices because we want to re-use the C++ drivers in MicroPython.

Built against MicroPython release v1.15 - https://github.com/micropython/micropython/releases/tag/v1.15

Supported Breakouts