I haven't tested any other ADCs then the MAX1272 with this library, if you want to help me, look here.
This library is made to interface with various SPI interfaced ADCs. A list with the currently supported ones can be found at the bottom of this page.
MyADC(char* type_, int pinToUse1);
char* type_ The type of the chip as defined (see bottom of page). ADCs witch are not supported are not defined and will give an error message when compiling
int pinToUse1 The chip select (CS) pin to use with this chip.
int readADC(int channel);
int channel The channel to use. This is optional and if not applicated it will use channel one.
The value for the ADC channel channel.
If you have an idea on how to solve the following "wishes", please look under Contact.
Almost every ADC with SPI interface should work with this library with minimal work. If you want me to add a chip, please send me a link to the datasheet.
Already supported ADCs:
MAX1273 (not tested)
MAX1240 (not tested)
MAX1241 (not tested)
MAX1242 (not tested)
MAX1243 (not tested)
MAX187 (not tested)
MAX189 (not tested)
MAX191 (not tested)
ADC library for Arduino by Jan Dalheimer is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at www.arduino.cc.