Driver for National Semiconductor ADC128Sxxx family of analog to digital converters
ADC128S.h
- Committer:
- shimniok
- Date:
- 2011-02-18
- Revision:
- 0:28addf1f4c26
- Child:
- 1:0edd6142cd67
File content as of revision 0:28addf1f4c26:
// ADC128S a library for the National Semiconductor ADC128S family of ADCs // // by Michael Shimniok - http://www.bot-thoughts.com/ // class ADC128S { public: ADC128S(PinName cs, PinName mosi, PinName miso, PinName sck); unsigned int read(int channel); private: SPI _adc; DigitalOut _cs; };