-
Question For example: Context We are just starting to explore pybricks. Ideally we would like to import our own API. Use it, but that also requires a streaming connection to Tricky. Screenshots |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
In my CharlieOSX I also used some 3rd party libraries. I just went the route of downloading the source code of the lib and putting it into my project folder that is then uploaded to the hub with the rest of my code. |
Beta Was this translation helpful? Give feedback.
-
We have In the REPL, you can run Related issues:
In general though, since we are using MicroPython instead of regular Python, using regular Python code is not really possible without significant modifications. Although you could make some glue code like: def sleep(time):
wait(time * 1000) |
Beta Was this translation helpful? Give feedback.
We have
from pybricks.tools import wait
instead of the standardtime.sleep()
function.In the REPL, you can run
help('modules')
to see what modules are available.Related issues:
In general though, since we are using MicroPython instead of regular Python, using regular Python code is not really possible without significant modifications.
Although you could make some glue code like: