-
Notifications
You must be signed in to change notification settings - Fork 83
missing pyb import when run test #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The pyb module is specific to the Pyboard. These drivers were developed for this platform. If you are running the code on a Pyboard, what is the exact error message you are seeing? Otherwise please let us know your platform - we might consider doing a port. |
@peterhinch Got you. That make sense now. Sorry, my bad, I was trying to use it for the Raspberry Pi. I don't know if this is another platform that you would like to support. Appreciated you guys' work. |
I have no plans to support the Pi: my interest is in platforms running MicroPython on bare metal. Unless @turbinenreiter has such intentions you may need to look elsewhere, or DIY. It shouldn't be too difficult, but you'd need to study and compare the Pi's I/O with that of the Pyboard. |
@CharlesCCC This should really be straightforward. Step 1 is something I wanted to do for the longest time, but I switched to using the BMX055 and therefore this is quite low on my list. |
@turbinenreiter the driver can already take an I2C object as an argument. We implemented this on 19th March this year. |
missing pyb import when run test code.
The text was updated successfully, but these errors were encountered: