Closed
Description
Attiny841/44 with 12+5 ADCs use ADMUXA and ADMUXB instead of ADMUX to select analog reference and channel. Just look at hardware/tools/avr/avr/include/avr/iotn841.h and hardware/tools/avr/avr/include/avr/iotn441.h.
The patch attached properly initializes ADMUXA and ADMUXB to make ADC usable, tested with Attiny841, thanks @awatterott for the hint.