STM32 L476RG

Dependents:   i2c_MPU6050

Files at this revision

API Documentation at this revision

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
--- 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)
--- 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: