Right now the gain and reference are hard coded. Until it is configurable at runtime prefer the same default as with Arduino Core. That is, GAIN_DIV2 and REFSEL_INTVCC1. This way we can properly measure the battery voltage.
Right now the gain and reference are hard coded. Until it is configurable at runtime prefer the same default as with Arduino Core. That is, GAIN_DIV2 and REFSEL_INTVCC1. This way we can properly measure the battery voltage.