// Calculate Amp Value from Charging Pins
Closed this issue · 0 comments
Deleted user commented
2 times use of "VoltageAmp"
Change:
VoltageAmp = (RawValueAmp / 1024.0) * 5000; // Gets you mV
AmpsTX = ((VoltageAmp - ACSoffset) / mVperAmp);
Amps = (RawWheelAmp / 1024.0) * 5000; // Gets you mV
WheelAmpsTX = ((Amps - ACSoffset) / mVperAmp);