For Hepta-Sat Lite
Diff: Hepta9axis.cpp
- Revision:
- 7:3a5b7c76eb48
- Parent:
- 6:fdfca3ffecd5
- Child:
- 8:54f18fbf1843
- Child:
- 9:de758e9f9e8e
diff -r fdfca3ffecd5 -r 3a5b7c76eb48 Hepta9axis.cpp --- a/Hepta9axis.cpp Wed Aug 21 12:14:29 2019 +0000 +++ b/Hepta9axis.cpp Thu Aug 29 02:49:27 2019 +0000 @@ -88,7 +88,7 @@ n_axis.stop(); double acc_az = short((zh<<8) | (zl)); - *az = (acc_az)*2/32764*9.81; + *az = (acc_az)*2/32764*(-9.81); }