tuupola / micropython-mpu9250

MicroPython I2C driver for MPU9250 9-axis motion tracking device
MIT License
141 stars 47 forks source link

ImportError : cannot load module i2C #14

Closed jiamingbacon closed 4 years ago

jiamingbacon commented 4 years ago

tried using the test code on the readme, but i get this error... Anyway to fix this ? Command Im using is micropython test.py

tuupola commented 4 years ago

If I understand correctly you are using UNIX port of MicroPython. That port does not support I2C.

jiamingbacon commented 4 years ago

yes i am, beause im using raspberry pi.. i see.. thank you !

tuupola commented 4 years ago

One of the cheapest options to try would be a ESP32 dev board. They only cost few dollars and can run MicroPython. Those are what I personally mostly use.