One of the great things about the Arduino environment is that it covers a wide variety of hardware with a common interface. Importantly, this isn’t just about language, but also about abstracting away ...
The MCP ADC's allow a single mode read which compares voltage of a single channel against GND. Furthermore they allow a differential mode which compares two channels IN+ and IN- to each other. If the ...
Analog-to-digital converters, or ADCs, are somewhat monolithic devices for most users, a black box that you ask nicely for the value on its input, and receive a number in return. For most readers, ...
#define ADC_ATTENUATION ADC_ATTEN_DB_12 // ADC attenuation, see above #define ADC_BIT_WIDTH 12 // the ADC bit width 9..12, values will be stored in 16 bit integers #define BIT_DEPTH 16 // default bit ...