David Lechner

Results 1570 comments of David Lechner

The example is working for me. So more logs will be required to understand the problem.

I tested v`1.18.0` and it has the bug as well. The only thing that changed between `1.17.0` and `1.18.0` was updating the electron version (which also updated the nodejs and...

Pybricks is not the same as ev3dev-lang-python. You can't use both at the same time. To use ev3dev-lang-python, change the shebang to `#!/usr/bin/env python3` and replace all of the Pybricks...

Where did you get the code? There is no `I2C` class. Maybe you meant `I2CSensor`?

To be able to use SMBus with an I2C sensor, you must set the mode of the port to "i2c-other" first.

Since Debian stretch is so old now, the package archive URL that ships with ev3dev no longer works. It can be fixed by editing `/etc/apt/sources.list` (e.g. `sudo nano /etc/apt/sources.list`) to...

Did you try setting [ramp_up_sp](https://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/stable/motors.html#ev3dev2.motor.Motor.ramp_up_sp) and [ramp_down_sp](https://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/stable/motors.html#ev3dev2.motor.Motor.ramp_down_sp)?

Recapping, there are two "bugs" here, one in the CPython standard library and one is a firmware limitation. And both have workarounds. 1. Not being able to find imports when...

This is not currently possible. It was discussed recently at https://github.com/orgs/pybricks/discussions/1089 and someone made a quick hack for their own use and shared it. But it sounds like something we...