Replies: 1 comment 1 reply
-
Thank you. This has already been fixed. You can grab the latest firmware from here https://nightly.link/pybricks/pybricks-micropython/workflows/build/master or wait for the next beta to come out. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Scenario:
Now, if you uncomment the shutdown() line, and do step 4 again, it will run. But then, any other run, either 4 or 5, will go to the exception:
OSError: [Errno 19] ENODEV: A sensor or motor is not connected to the specified port:
Step 5 will always do the exception (red light).
You can run the program in another port but port A becomes unavailable ... until you flash firmware again.
This thing gets more complicated. I am having problems with pybricksdev BLE communications and it seems that, when pybricksdev gets stuck trying to run a program, the last port I have used in the hub becomes unavailable? I can´t explain this very welL... does it makes sense?
I think there is something wrong with shutdown() or maybe device cleanup?
Beta Was this translation helpful? Give feedback.
All reactions