David Lechner

Results 1494 comments of David Lechner

For reverse engineering, I would suggest using https://pypi.org/project/pybricksdev/. It can be used as a command line tool with an interactive prompt that knows about the LWP3 protocol. My favorite way...

> publishing uncrustify packages on pypi for easy install It's not WASM, but it is already there. https://pypi.org/project/micropython-uncrustify/ The binary wheels should cover the vast majority of developer machines and...

There currently isn't a way to list adapters. On Linux, you can add an `adapter="hci1"` keyword argument to `BleakScanner` and `BleakClient`.

I'm pretty sure it is just ignored.

FYI, I recently published https://pypi.org/project/micropython-uncrustify/ to have an easy way to get a pre-compiled binary with the correct version of uncrustify. This would be more efficient than everyone having to...

You can also run it like this if you don't want to make a vritualenv or pollute your PATH. pipx run --spec micropython-uncrustify uncrustify --version

How did you flash the SD card? Did you see the information that the current version of Etcher has a bug that creates a corrupted image?

The best place to get help with Pybricks is: https://github.com/orgs/pybricks/discussions It could be that you are using Pybricks version 1.0 instead of 2.0. The docs can help you update: https://pybricks.com/ev3-micropython/...

This is a known issue. Please see step 6.1 in the [getting started guide](https://www.ev3dev.org/docs/getting-started/).

If it still says `httpredir` in the error message, then the apt `sources.list` file was not actually changed and you should try again. Or if it doesn't say that, then...