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 ...
#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 ...