tinypico / tinypico-arduino

Arduino libraries and example code for TinyPICO
MIT License
45 stars 20 forks source link

Battery voltage incorrect #10

Open mjdonders opened 3 years ago

mjdonders commented 3 years ago

If the TinyPICO helper is created and used immediately, the battery voltage reported is incorrect. Rationale:

Note that isToneInit isn't initialized in the constructor as well, even not related to this issue, I guess that initializing to false might be wise.