David Lechner

Results 1536 comments of David Lechner

Ah, right. I guess just the firmware flash feature in the official LEGO software would not work. So if users were OK with always using Pybricks to flash the firmware,...

It turns out that WINUSB has much more limited features compared to other OSes. So even some functions in the WebUSB implementation, like `reset()` are not available on Windows. I...

> RuntimeError: message sequence number mismatch: 256 != 0 I think that is #2375.

> (Anything is possible, just wondering what makes most sense.) First instinct: For motors without absolute encoders: 0. For motors with absolute encoders: the current absolute value times the gear...

First, it would be nice to try to finalize what the actual flash memory layout is going to be. I think some of this has be brought up before, but...

> It could make sense to have a separate file for external flash memory layout info since not all hubs have that. Expanding on this, some random thoughts I had...

For now you have to write your own async code [like this](https://gist.github.com/dlech/066cc9593eecf88d044963a0a374f65e). Having a built-in way to do this is farther down our roadmap (i.e. Pybricks v4). Volume control should...

Yes. We should be able to detect that we are running on Android, so can have a separate error message just for that.

IIRC, NXT has 64KiB RAM so anything we can do to use less is a good thing so that users still have plenty for their programs.

Further thought on this: To keep the API mostly the same, we could allow the `color=` argument to accept a float value between 0 and 1 in addition to a...