-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APIfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)
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.
Metadata
Metadata
Assignees
Labels
Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APIfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)