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

Can not use AK8963 #27

Open
ttyyzz34 opened this issue Apr 1, 2023 · 1 comment
Open

Can not use AK8963 #27

ttyyzz34 opened this issue Apr 1, 2023 · 1 comment

Comments

@ttyyzz34
Copy link

ttyyzz34 commented Apr 1, 2023

Who can help me to solve the issue?
I can not find AK8963.
I use i2c.scan() get
i2c.scan()
[60, 104, 118]
Can not find AK8963.
I use the AK8963.py and it give error like this:
Traceback (most recent call last):
File "", line 6, in
File "ak8963.py", line 76, in init
File "ak8963.py", line 139, in whoami
File "ak8963.py", line 197, in _register_char
OSError: [Errno 19] ENODEV

@tuupola
Copy link
Owner

tuupola commented Dec 4, 2023

Although ENODEV suggest different error, looking at the scan resuts which in hex are 0x3c, 0x68 and 0x76. The address of AK8963 is 0x48. Are you sure you have an AK8963 connected to the bus?

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

No branches or pull requests

2 participants