Reading data from MPU with M5Stick V on MaixPy
-
Hi guys,
Do you have some example using MPU on a M5Stick V with MaixPY? The examples I found return error when trying to write memory with command: "write_i2c(MPU6886_PWR_MGMT_1, 0x00)". The error message is:
File "<stdin>", line 44, in <module>
File "<stdin>", line 41, in write_i2c
OSError: [Errno 5] EIO -
you could find the MPU6886 example in this page:
https://docs.m5stack.com/#/en/related_documents/M5StickV-Maixpy
-
When I try to run the code I have the following message:
Traceback (most recent call last):
File "<stdin>", line 59, in <module>
File "<stdin>", line 32, in MPU6866_init
File "<stdin>", line 28, in write_i2c
OSError: [Errno 5] EIODo you know what it could be?
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