Releases: pybricks/pybricks-micropython
Releases · pybricks/pybricks-micropython
Release v3.1.0a2
Added
- Support for reading button state on Technic Hub, City Hub, and Move Hub.
- Support for reading hub name on all Powered Up hubs.
- Enable MicroPython slicing feature on Technic Hub, City Hub, Prime Hub.
- Added pystone benchmark tests for all hubs.
- Added
hub.system.shutdown()for graceful shutdown (support#58).
Changed
- Move
Remoteclass fromexperimentaltopupdevices. - Move
Remote.pressed()toRemote.buttons.pressed(). - Remove
pybricks.experimentalmodule on Move Hub. - Increased Move Hub heap from 6K to 7K due to recently freed RAM (pybricks-micropython#57).
- Changed
hub.system.reset(action)to accept2only (support#379). This
is technically a breaking change, although this method was never officially
released or documented. With this change, entering firmware update mode
remains possible for backwards-compatibility, but unsafe power off methods
are removed.
Fixed
- Fix Bluetooth not disconnecting when shutting down and button is still pressed.
- Fix I/O ports not powering off when shutting down and button is still pressed.
- Fix version number only showing git hash and not v3.x.
Release v3.1.0a1
Added
- Added PnP ID characteristic to Device Information Service and to advertising
data (pybricks-micropython#49). - Added special location in firmware for storing hub name (support#52). Note:
Support will need to be added to tools separately to make use of this. - Added configuration option to run a simplified version of motor PID control.
It is activated on the Move Hub to reduce build size. Motor performance on
the other hubs is unaffected. - Experimental support for the Powered Up remote control (support#186).
Changed
- Updated MicroPython to v1.16.
- Simplified the Powered Up UART Protocol host implementation. Unused device
properties are no longer stored in order to reduce flash and RAM
usage ([pybricks-micropython#57]).
Release v3.0.0
Added
- Added
Hub.systemattribute (support#321).
Changed
Hub.reset()moved toHub.system.reset()(support#321).- Motor methods now raise
OSErrorwithuerrno.EBUSYinstead ofuerrno.EPERM
if the motor is currently being used and the operation cannot be completed.
Fixed
- Fixed resetting motor angle while holding position causes movement (support#352).
- Fixed
DriveBasenot resetting during initialization (pybricks-micropython#21). - Fixed Ctrl+C stopping REPL when first started (support#347).
- Fixed UART I/O devices retuning uninitialized data (support#361).
Release v3.0.0c1
v3.0.0c1
Release v3.0.0b6
v3.0.0b6
Release v3.0.0b5
v3.0.0b5
Release v3.0.0b4
v3.0.0b4
Release v3.0.0b3
drv/bluetooth/bluenrg: Fix device info service Classic Contiki mistake. Local variables are used across yields, so need to be static.
Release v3.0.0b2
v3.0.0b2
Release v3.0.0b1
Release notes: pybricks/support#48 (comment)