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 01182c4 commit fadecbaCopy full SHA for fadecba
atmega4809-adc-basics-mplab.X/src/adc_window.c
@@ -74,7 +74,7 @@ int8_t ADC_0_init()
74
// ADC0.INTCTRL = 0 << ADC_RESRDY_bp /* Result Ready Interrupt Enable: disabled */
75
// | 0 << ADC_WCMP_bp; /* Window Comparator Interrupt Enable: disabled */
76
77
- // ADC0.MUXPOS = ADC_MUXPOS_AIN0_gc; /* ADC input pin 0 */
+ ADC0.MUXPOS = ADC_MUXPOS_AIN6_gc; /* ADC input pin 6 */
78
79
// ADC0.SAMPCTRL = 0x0 << ADC_SAMPLEN_gp; /* Sample length: 0x0 */
80
0 commit comments