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

Add support for MCP3421 #11

Open
dotpointer opened this issue Jan 15, 2023 · 1 comment
Open

Add support for MCP3421 #11

dotpointer opened this issue Jan 15, 2023 · 1 comment

Comments

@dotpointer
Copy link

MCP3421 is 18-bit but only 1 channel.

I succeeded to use your library with a MCP3421 module by commenting out all channels but 1 in the example, here are the relevant lines that I needed to change:

addr68_ch0 = MCP342x(bus, 0x68, channel=0, resolution=18)
...
adcs = [addr68_ch0]

With these changes I could read data from the module. So you can add support for the board, it works. 😃

@ouccoffee
Copy link

I think you should talk about it in python-MCP342x, but not here.

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