FSR
Dependents: FSR_hello_world FINAL_PROJECT Pousse_seringue_Ulg 0__Pousse_seringue ... more
Diff: FSR.cpp
- Revision:
- 1:6b702226a5d3
- Parent:
- 0:d24a38523990
- Child:
- 2:3a5f5cc5b35c
diff -r d24a38523990 -r 6b702226a5d3 FSR.cpp
--- a/FSR.cpp Wed Oct 21 21:14:06 2015 +0000
+++ b/FSR.cpp Wed Oct 21 21:19:14 2015 +0000
@@ -14,7 +14,7 @@
float FSR::readFSRResistance()
{
float read = _ain;
- return _r * 3.3 / read - _r;
+ return _r * 1 / read - _r;
}
float FSR::readWeight()
Force Sensitive Resistors (FSR)