Open cheng3100 opened 6 years ago
Well, I want to say it that my average method is almostly the same perfermance expense as get the adc value separatly. So I think maybe it is a good improvement :) And the average method also can be apply to the Vcc calculation . I will push it if you merge the PR.
Hi, I am using your code but I find that the value of vcc is sometime unstable. And sometime I just want the adc int value so that to save performance expenses. So I add a method and put a digital slide fliter inside it. I have test it in my arduino.