Releases: pybricks/pybricks-micropython
Releases · pybricks/pybricks-micropython
3.5.0
3.5.0b2
Added
- Added optional keyword arguments to
pybricks.tools.read_input_byte()
for
automatic conversion viachr
and to skip to the last byte (support#1574). - Added
disconnect
method topybricks.pupdevices.Remote
and
pybricks.iodevices.LWP3Device
(support#802).
Changed
- Raise a descriptive error when the
Car
class can't find a steering mechanism
end stop within 10 seconds (support#1564). - Extended region of readable data with
hub.system.storage
to include
user program (pybricks-micropython#243).
Fixed
- Fixed hubs not shutting down when holding hub button (support#1419).
3.5.0b1
Added
- Added support for rumble in
XboxController
(support#1024). - Added
Button.UP
,Button.DOWN
,Button.LEFT
, andButton.RIGHT
to
XboxController
buttons method (support#1537). The separate directional
pad method remains available.
Changed
- Allow single floating point value for brightness array (support#1547).
3.4.0
Changed
- Additional error checking in
pybricks.robotics.Car
setup (support#1502).
3.4.0b3
Added
- Added
joystick_deadzone
keyword argument to suppress controller drift in
theXboxController
(support#1473). - Added
pybricks.tools.running
to return if a stopwatch is currently running
(support#1490).
Changed
- Use
Button
parameter forXboxController
(support#1488), not strings. - If
pybricks.tools.run_task
is called without arguments, it will return
whether the runloop is running or not (support#1499). - On Move Hub, the verbosity of error messages is further reduced to reduce
the firmware size, to allow for bug fixes/updates (pybricks-micropython#240). - Re-implemented
pybricks.robotics.Car
in C so it can be enabled on Move Hub
which does not support frozen modules (support#1502).
Fixes
- Fix
pybricks.iodevices
not allowing writing -128 value (support#1366) and
raise informative error messages instead of clamping the input.
Release v3.3.0
Changed
- Bump version from release candidate to 3.3.0.
Release v3.3.0c1
Added
- Added
MoveHub.imu.tilt()
(support#539). - Enabled hub init orientation support for Move Hub (support#539).
Changed
- Allow Move Hub to ignore
broadcast
instead of raising an exception while
connected.
Fixed
- Fixed Move Hub accelerometer not working since v3.3.0b5 (support#1269).
- Fixed Bluetooth chip locking up on Technic and City hubs when broadcasting (support#1095).
- Fixed potential crash when GC occurs while observing BLE data (support#1278)
- Fixed Technic Hub and City Hub eventually stopping observing BLE data after
a few minutes (support#1096) by implementing an auto-reset workaround.
Release v3.3.0b9
Added
- Added
hub.buttons
as an alias forhub.button
on buttons with one
hub (support#1254). - Implemented
brake
forDriveBase
(support#881).
Changed
- The
use_gyro
method is added to the normalDriveBase
class instead of
having a separateGyroDriveBase
class. Since the latter was only released
in beta versions, this is not a breaking change (support#1054). - New color distance function used by the color sensors that is more
consistent when distinguishing user-provided colors (pybricks-micropython#104). - Updated the unreleased BLE API to ensure sent and received objects are the
same. Allows one of the supported types or a list/tuple thereof.
Fixed
- Improved external device detection speed (support#1140).
- Fixed Powered Up Tilt Sensor not working (support#1189).
- Fixed
surface=False
not working inColorSensor
(support#1232). - Fixed
PUPDevice.write
not selecting correct mode (support#1213). - Fixed City Hub turning back on after shutdown (support#1195).
- Fixed SPIKE hubs not broadcasting at all when attempting to broadcast in a
tight loop (support#1151).
Release v3.3.0b8
v3.3.0b8
Release v3.3.0b7
v3.3.0b7