STM32 L476RG
Revision 7:c5b827f8be2b, committed 2020-10-21
- Comitter:
- remig
- Date:
- Wed Oct 21 08:22:23 2020 +0000
- Parent:
- 6:5b90f2b5e6d9
- Commit message:
- NUUCLEO STM32L476RG
Changed in this revision
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
MPU6050.h | Show annotated file Show diff for this revision Revisions of this file |
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)
diff -r 5b90f2b5e6d9 -r c5b827f8be2b MPU6050.h --- a/MPU6050.h Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.h Wed Oct 21 08:22:23 2020 +0000 @@ -48,6 +48,7 @@ extern float accelBias[3], gyroBias[3]; /* Function Prototypes */ +//! Class MPU6050 class MPU6050 { protected: