Closed proboscide99 closed 8 years ago
Hi, I've added two lines of code to the readVcc function for 644/1284 support. Tested on a 1284P MCU, non tested on 644 but it should work.
ADMUX = _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
Ciao!
Sounds great, however your pull request does not contain any commits (changes) from yourself. Please could you open a new pull request to try again. Will be happy to merge this , thanks for the contribution
Hi, I've added two lines of code to the readVcc function for 644/1284 support. Tested on a 1284P MCU, non tested on 644 but it should work.
elif defined(AVR_ATmega644) || defined(AVR_ATmega644P) || defined(AVR_ATmega1284) || defined(AVR_ATmega1284P)
ADMUX = _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
Ciao!