335 Final Project
Diff: MPU6050.cpp
- Revision:
- 7:c5b827f8be2b
- Parent:
- 6:5b90f2b5e6d9
- Child:
- 8:2528350ee05b
diff -r 5b90f2b5e6d9 -r c5b827f8be2b MPU6050.cpp --- a/MPU6050.cpp Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.cpp Wed Oct 21 08:22:23 2020 +0000 @@ -38,7 +38,7 @@ /* Set initial input parameters */ -// Acc Full Scale Range +-2G 4G 8G 16G +//! Acc Full Scale Range +-2G 4G 8G 16G enum Ascale { AFS_2G=0, @@ -71,6 +71,9 @@ float aRes, gRes; // Calculates Acc resolution +//! :: Scope Resolution operator +//! Define a function outside class definition +//! Declaration must be done void MPU6050::getAres() { switch(Ascale)