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

Adding Support for MCP3208 (12 bit version of MCP3008) #47

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

npotts
Copy link

@npotts npotts commented Jan 10, 2016

I have hacked in support for a MCP3204/8 (12 bit version of MCP3004/8), and I am wondering if i should add it into the MCP3008 struct, or make a copy of the 3008 - Per the datasheets precious little else is different. On RPi2+, this also needs the patch from #24

I am open trying to generalize the current MCP3008 driver, but I just haven't researched the realm of other chip-sets that have a similar interface.

…o the MCP3008 execpt for being 12 bits.

Signed-off-by: npotts <npotts@users.noreply.github.com>
Signed-off-by: npotts <npotts@users.noreply.github.com>
…man#24)

Signed-off-by: npotts <npotts@users.noreply.github.com>
Signed-off-by: npotts <npotts@users.noreply.github.com>
Add newly required 3rd argument
@tve tve added the new device label Sep 25, 2016
analogic added a commit to analogic/embd that referenced this pull request May 27, 2017
Copy of mcp3008 with necessary changes derived from kidoman#47 to make MCP3208 work. Creating new driver instead of changing API of different model (like pull 47) seems to be better choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants