summaryrefslogtreecommitdiff
path: root/include/arch/arduino-nano/driver/adc.h
blob: 4af64b890ae8c11e414a73790c91228f69a619a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ADC_H
#define ADC_H

class AVRADC {
	private:
		AVRADC(AVRADC const &copy);

	public:
		AVRADC() {}

		int16_t getTemp_mdegC(int16_t offset = 205);
		uint16_t getVCC_mV();
};

extern AVRADC adc;

#endif