FSRforCookieJar
Fork of FSR by
Revision 1:6b702226a5d3, committed 2015-10-21
- Comitter:
- cshao06
- Date:
- Wed Oct 21 21:19:14 2015 +0000
- Parent:
- 0:d24a38523990
- Child:
- 2:3a5f5cc5b35c
- Commit message:
- FSR
Changed in this revision
| FSR.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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()
