Laurens Valk
8ed5a489b9
pybricks.messaging.BLERadio: Include raised errors.
2026-05-29 11:24:41 +02:00
Laurens Valk
a2ba8e4dcd
pybricks.hubs: Move .ble to BLERadio.
...
Follows upstream firmware change.
Update tests and examples too.
2026-05-29 11:12:50 +02:00
Frederik Leonhardt and Laurens Valk
7900f03574
jedi: Add tests for methods on hub.ble.
2026-05-28 11:20:54 +02:00
Frederik Leonhardt and Laurens Valk
7014f46441
pybricks.common.BLE: Improve typing for broadcast() and observe()
...
- Add overloads for broadcast(). It accepts either a single value, or a tuple,
or a list.
- Adjust return type of observe(). It either returns a single value, or a tuple.
2026-05-28 11:12:17 +02:00
Frederik Leonhardt and Laurens Valk
7411a246c9
pybricks.common.BLE: Improve typing for hub constructor.
...
Update type hint for broadcast_channel to Optional, as None is allowed.
2026-05-28 11:12:17 +02:00
Lasse Deleuran
3bc2f35e3e
pybricks.iodevices: Added missing functions and parameters.
...
* Added missing functions and parameters to documentation.
- AnalogSensor: Missing parameter "custom".
- I2CDevice: Missing parameters "port", "address", "custom", "powered", and "nxt_quirk" with attempted explanation of parameters.
- UARTDevice: Missing default parameter value.
- LWP3Device: Missing "connect" parameter.
- Added missing connect and disconnnect methods.
- XboxController: Missing documentation in constructor and missing methods.
* Minor changes to the documentation
Made it more clear and less verbose when to skip connect to bluetooth devices.
2026-05-28 10:47:04 +02:00
kai-morich and GitHub
61578b5547
pybricks.parameters: Add/fix operators for Color type.
...
* Implement `Color.__eq__`, fix `Color.__mul__`. This allows testing of color block sorting algorithms with CPython.
* implement `Color.__lshift__` and immutability for completeness.
2026-04-25 11:01:54 -05:00
JoBe and GitHub
c615ccf986
pybricks._common: Fix parameter name in LightMatrix.orientation().
...
The parameter `up` was named `top` here, which does not reflect the state of the current code.
See https://github.com/pybricks/pybricks-micropython/blob/master/pybricks/common/pb_type_lightmatrix.c#L59C25 for usage in the code itself.
2026-03-29 17:41:34 -05:00
Gabriel Couchenour and GitHub
32f974e7e5
Robotics.py: Fix issue with the type stub for DriveBase.angle() ( #165 )
...
The type was changed from `int` to `float` in https://github.com/pybricks/pybricks-micropython/commit/4d457a17fc13d42d9b311df99e05dafaeed67862 .
Technically, it is still `int` on BOOST Move hub (any system without floating point support). But most platforms use `float` so makes sense to have that in the type hints.
2025-09-19 21:53:37 -05:00
Laurens Valk
0efcfd4a36
pybricks.iodevices.LWP3Device: Document new parameters.
2025-06-16 11:05:13 +02:00
Laurens Valk
356f6ffdba
v3.6.1
v3.6.1
2025-05-01 11:30:32 +02:00
Laurens Valk
4967b96ddd
doc/main: Fix trailing whitespace.
...
For some reason this was not caught by CI.
2025-05-01 11:27:33 +02:00
Laurens Valk
116368e4c7
pybricks.hubs: List missing system.info method.
2025-05-01 11:25:56 +02:00
Laurens Valk
5b56249d8c
doc/common/extensions: Drop unused imports.
2025-05-01 11:19:48 +02:00
Laurens Valk
04fb7e3e19
@pybricks/images/v1.4.0
@pybricks/images/v1.4.0
2025-03-19 10:33:59 +01:00
Laurens Valk
5814a73bb1
v3.6.0
v3.6.0
2025-03-11 13:08:17 +01:00
Laurens Valk
ed3059b47b
pybricks.common.IMU: Clarify notes on calibrated values.
2025-03-11 13:01:10 +01:00
Laurens Valk
2a98264144
@pybricks/jedi/v1.17.0
@pybricks/jedi/v1.17.0
2025-02-26 12:54:14 +01:00
Laurens Valk
6083b17d9a
pybricks_jedi/v1.17.0
pybricks_jedi/v1.17.0
2025-02-26 12:49:04 +01:00
Laurens Valk
1c598f35be
@pybricks/ide-docs/v2.20.0
@pybricks/ide-docs/v2.20.0
2025-02-26 12:33:03 +01:00
Laurens Valk
52c522df2d
v3.6.0b5
v3.6.0b5
2025-02-26 12:29:10 +01:00
Laurens Valk
2380be2814
extensions/blockimg: Embed svg.
...
This cuts the total build from 527 to 156 files,
which is considerably fewer requests when loading
this inside Pybricks Code.
See https://github.com/pybricks/support/issues/1559
2025-02-26 10:58:03 +01:00
Laurens Valk
89a34e9f51
conf: Don't export txt sources.
...
The sources are hosted on GitHub, so there is not additional information here. Also, the actual docstrings are included in the .py files.
See https://github.com/pybricks/support/issues/1559
2025-02-26 10:17:08 +01:00
Laurens Valk
9597f227f4
pybricks.common.IMU: Add settings blocks.
2025-02-25 13:47:07 +01:00
Laurens Valk
1e09cb2232
builtins: Document missing eval and exec on Move Hub.
...
Fixes https://github.com/pybricks/support/issues/1931
2025-02-25 11:32:01 +01:00
Laurens Valk
6739b517a5
examples: Fix duty cycle comment.
...
Fixes https://github.com/pybricks/support/issues/2029
2025-02-25 11:26:16 +01:00
Laurens Valk
c5cfcd0ac8
tests: Update for IMU changes.
2025-02-25 11:16:27 +01:00
Laurens Valk
827eda031b
pybricks.common.System: Document new system info.
2025-02-25 11:16:27 +01:00
Laurens Valk
c77b440270
pybricks.parameters: Allow iterating colors.
...
https://github.com/pybricks/support/issues/1661
2025-02-25 11:16:27 +01:00
Laurens Valk
789e70a42b
pybricks.common.BLE: Broadcast fixes.
...
Fix missing awaitable. Fix default broadcast channel following firmware update.
2025-02-25 11:16:27 +01:00
Laurens Valk
53d6d14de6
pybricks.common.IMU: Document calibration kwarg option.
2025-02-25 11:16:27 +01:00
Laurens Valk
ce9d7420fb
pybricks.common.IMU: Document new settings.
...
Also dcument hub.system.reset_storage.
2025-02-25 11:16:27 +01:00
Laurens Valk
044903b193
pybricks.common.Motor: Clarify drive base reset side effect.
...
Fixes https://github.com/pybricks/support/issues/1449
2025-02-25 11:16:27 +01:00
Laurens Valk
25bfd0e80e
pybricks.robotics.DriveBase: Document curve and reset updates.
2025-02-25 11:16:27 +01:00
David Lechner
b28f768bec
pybricks.lwp3device: Show compatibility.
...
It has come up a few times recently that this wasn't clear.
2025-01-25 11:02:54 -06:00
Laurens Valk
f35bbe44f5
@pybricks/ide-docs/v2.19.0
@pybricks/ide-docs/v2.19.0
2024-04-11 14:36:16 +02:00
Laurens Valk
08fa5b1c17
v3.5.0
v3.5.0
2024-04-11 14:34:22 +02:00
Laurens Valk
6982cf4fd2
@pybricks/jedi/v1.16.0
@pybricks/jedi/v1.16.0
2024-04-05 11:47:00 +02:00
Laurens Valk
8ffdde38e6
pybricks_jedi/v1.16.0
pybricks_jedi/v1.16.0
2024-04-05 11:45:50 +02:00
Laurens Valk
353310c1ba
@pybricks/ide-docs/v2.18.0
@pybricks/ide-docs/v2.18.0
2024-04-05 11:43:43 +02:00
Laurens Valk
4ca1ddf909
v3.5.0b2
v3.5.0b2
2024-04-05 11:11:21 +02:00
Laurens Valk
b0ff867dcc
.github: Merge release and PyPI steps.
...
"on: release" only triggers for manual releases, not releases created by another workflow.
Fixes https://github.com/pybricks/support/issues/1558
2024-04-05 11:11:08 +02:00
Laurens Valk
c05d5c42cd
.github: Add release workflow.
...
This was the only step that wasn't automated, which made it a bit harder to remember what to do.
Fixes https://github.com/pybricks/support/issues/1558
2024-04-05 10:46:39 +02:00
Laurens Valk
190c0a4a75
blocks: Add in and double ternary blocks.
2024-04-04 21:45:26 +02:00
Laurens Valk
52b3b4c007
pybricks.tools.read_input_byte: Add last and chr options.
2024-04-04 21:45:26 +02:00
Laurens Valk
0145fd41ae
pybricks.hubs: Add blocks for ready, stationary, up.
2024-04-04 21:45:09 +02:00
Laurens Valk
d228b7de99
pybricks.pupdevices.Remote: Add disconnect.
2024-04-04 20:42:17 +02:00
Laurens Valk
615d21cd54
pyproject: Fix version v prefix.
@pybricks/ide-docs/v2.17.0
2024-03-21 19:37:51 +01:00
Laurens Valk
d028e805e7
@pybricks/jedi/v1.15.0
@pybricks/jedi/v1.15.0
2024-03-21 19:23:54 +01:00
Laurens Valk
d2fee3557d
pybricks_jedi/v1.15.0
pybricks_jedi/v1.15.0
2024-03-21 19:21:52 +01:00