FSR
Dependents: FSR_hello_world FINAL_PROJECT Pousse_seringue_Ulg 0__Pousse_seringue ... more
Diff: FSR.cpp
- Revision:
- 2:3a5f5cc5b35c
- Parent:
- 1:6b702226a5d3
--- a/FSR.cpp Wed Oct 21 21:19:14 2015 +0000 +++ b/FSR.cpp Wed Oct 21 21:20:14 2015 +0000 @@ -20,7 +20,7 @@ float FSR::readWeight() { float read = _ain; - float rfsr = _r * 3.3 / read - _r; + float rfsr = _r * 1 / read - _r; float slope = (4 - 2) / (log10(6.2) - log10(0.25)); float a = log10(rfsr); if (a < log10(6.2))