ev3dev / ev3dev-lang-python

Pure python bindings for ev3dev
MIT License
422 stars 146 forks source link

Use with pybricks - micropython library #772

Closed KolosMile closed 3 years ago

KolosMile commented 3 years ago

Hello! I tried to figure out if is there any possibility to use this micropython library with the one, which introduced by Lego, the pybricks-micropython. I have a project written in the pybricks-micropython 2.0 and I tried to use the ev3dev2 module in it like from ev3dev2.led import Leds and it throws an error: No module named: ev3dev2. Which is obvious because the pybricks-micropython env not contains this modul. So my question is there any way to use both library in one program? Thank you in advance for your answer.

KolosMile commented 3 years ago

In the meantime I found the answer. It's not possible because ev3dev2 and pybricks use different version of micropython.