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

16Bit I2C AD converter? #66

Open
DrAle85 opened this issue Feb 5, 2019 · 1 comment
Open

16Bit I2C AD converter? #66

DrAle85 opened this issue Feb 5, 2019 · 1 comment

Comments

@DrAle85
Copy link

DrAle85 commented Feb 5, 2019

Hello,
first of all, a really great library! It has helped me a lot!
I have a question :
I would like to use this AD converter with I2C https://www.adafruit.com/product/1085 in order to get precise measurements from a 0-10V analog output. Is there a machine which can already do this in the library? Or is it something one has to program in a separate machine and if so, do you have any suggestions on how to implement this?
Thanks!

@tinkerspy
Copy link
Owner

There's nothing like that made AFAIK. But it's not that difficult. You could create a subclass of the Atm_analog machine and override the (virtual) read_sample() function to read a value from your adc instead.

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