Skip to content
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

Whoami validation #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Whoami validation #31

wants to merge 1 commit into from

Conversation

LubosKuzma
Copy link

whoami responses vary from item to item, but seem to be tied to specific item. I have multiple MPU6500 as well as MPU9250s and neither worked with the current whoami validation process.

I updated both the ak8963.py and mpu6500.py to include argument where users can define whoami response.
Also added suggestion inside Runtime Error to indicate what the whoami response is.

…th any chip. Whoami responses vary from item to item.
@Zenodeon
Copy link

Lifesaver PR ❤️

and for others
After finding and fixing the correct address in mpu6500.py using the PR Code, we found that ak8963.py was giving OSError: [Errno 19] ENODEV error at line 200, we fixed it by changing the ak8963.py self, i2c, address=0x0c, to self, i2c, address=0x68, which then fixed the error and helped find the correct address for the ak8963.py using the PR Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants