-
Notifications
You must be signed in to change notification settings - Fork 8
some code issues #1
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
Comments
Hi @AsimHex , |
did you try it on arduino uno?? Best wishes |
Oh, yes, OK Asim - thank you, |
Thank you Asim (@AsimHex ), |
In Header file :
//The value of the sense resistor for voltage measurement in Ohms
int _senseResistance = ACS37800_DEFAULT_SENSE_RES;
//The value of the divider resistance for voltage measurement in Ohms
int _dividerResistance = ACS37800_DEFAULT_DIVIDER_RES;
This code is what we have it should be float not int
//The value of the sense resistor for voltage measurement in Ohms
float _senseResistance = ACS37800_DEFAULT_SENSE_RES;
//The value of the divider resistance for voltage measurement in Ohms
float _dividerResistance = ACS37800_DEFAULT_DIVIDER_RES;
The text was updated successfully, but these errors were encountered: