Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method that directly return the adc value and get average value by digital slide filtering algorithm #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cheng3100
Copy link

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.

@cheng3100
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant