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?