We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791cd2e commit 139e942Copy full SHA for 139e942
atmega4809-adc-basics-mplab.X/main.c
@@ -11,7 +11,7 @@
11
12
#define MAX_VOL 2.5 // VREF=2.5V
13
#define RES_10BIT 0x3FF
14
-#define ADC_CHANNEL ADC_CHANNEL ADC_MUXPOS_AIN6_gc
+#define ADC_CHANNEL ADC_MUXPOS_AIN6_gc
15
16
uint16_t adc_result = 0;
17
float calc_volt;
0 commit comments