hi This is really a feature request. The readSupplyVoltage() function in megaTinyCore.cpp does this:
VREF.CTRLA = VREF_ADC0REFSEL_1V5_gc;
I'm also using DACREF0 so I used this instead:
VREF.CTRLA |= VREF_ADC0REFSEL_1V5_gc;
Maybe this would be a useful change?
hi This is really a feature request. The readSupplyVoltage() function in megaTinyCore.cpp does this:
VREF.CTRLA = VREF_ADC0REFSEL_1V5_gc;I'm also using DACREF0 so I used this instead:
VREF.CTRLA |= VREF_ADC0REFSEL_1V5_gc;Maybe this would be a useful change?