Difficulty in running the basic drivers from PyCom...
-
For reference, I am running a WiPy 3.0 with a Pysense expansion board. I tried to run the basic example that allows you to manipulate the various sensors the Pysense.
I put the modules from the default Pysense examples on the Pycom github (link here: https://github.com/pycom/pycom-libraries/tree/master/pysense) into the lib folder on the device. I also found pycoproc.py and added that as well. However, I keep getting ImportErrors. When I added lib. prefixes to all of the given imports, I found that it recognized the modules but still could not import the driver classes within those modules. I also keep getting this weird symbol ╝> returned whenever I try to run main.py. Any thoughts?


-
Could you post your main.py as well, Ill take a look :)
-
@paul-thornton Just did. :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login