David Lechner
David Lechner
Finally some progress to report here. I've been wishing I could use this to automate some things for my day job so it has been on my mind. 😄 I...
OK with me.
I would rather not bump the protocol version twice in one release. We can work around this by making a file literally named `__main__.py` if we ever need to do...
MicroPython isn't really designed to do that kind of debugging, so something like Bert suggested would probably be the best option.
You should try using the same class for the same LEGO sensor that works in the official LEGO app, which I assume since you said "distance" sensor would be `ColorDistanceSensor()`.
Pybricks uses some different sensor modes to improve the precision compared to the official LEGO software. So it is possible that the 3rd party sensor only implemented the modes that...
There is some info on https://bricks.stackexchange.com that shows what is inside the hubs, for example for the City Hub: https://bricks.stackexchange.com/a/10258/3498 Here you can see the motor controller chip and there...
You can use the `DCMotor()` class to do this.
Data is here: https://github.com/pybricks/pybricks-micropython/pull/401#issuecomment-3421253764
I read #2370 first, but it would make more sense to adapt this dialog so that we don't have to show an error at all in the case of flashing...