KlutzyBubbles / lego-micropython-extension

Extension method and utility set for the Lego MicroPython port
MIT License
3 stars 2 forks source link

This extension does not work with EV3 micropython v1.0.0 #1

Open stolendust opened 5 years ago

stolendust commented 5 years ago

Dear Klutzy,

Thank you for this amazing extension. I'm doing a project for the contest of FLL 2019 with EV3 micropython. But I am confused that EV3 micropython currently released is not supporting Enum which is used in this extension and lego-micropython-skeleton. Could you help me out?

KlutzyBubbles commented 5 years ago

Hi stolendust,

That was actually something that i found out about a week ago. I am working on a fix now, to be honest i didn't think anyone would use this in its current state, its an incomplete build along with all of the bugs etc.

I will label it as a known bug and probably speed up development for a fix. I am trying to contact Lego to get the source for their micropython implementation so i can extend it directly.

KlutzyBubbles commented 5 years ago

Hi @stolendust,

I have updated the dev branch and the PyPi dev build with an updated version, although i don't think the update will fix your problem. After further investigation i found out i only use the Enum class in the EV3 Skeleton, which should only be installed on the development machine (NOT the EV3), whereas the extension should be installed to the EV3 project folder.

Either way the development version is now available and it would be great to know if everything is working (i believe most of it is but i haven't created any test cases yet).

https://pypi.org/project/lego-mp-extension/0.2.0.dev1910201901/

pip install -t . --upgrade lego-mp-extension==0.2.0.dev1910201901

pip install lego-mp-skeleton

Both commands should be run on the development machine in the root of the project folder :)

Let me know if you have any further questions, sorry for the late reply.