Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Files at this revision

API Documentation at this revision

Comitter:
dbartolovic
Date:
Fri Mar 09 17:05:05 2018 +0000
Parent:
3:38eadab20283
Parent:
2:41a1cdac47a7
Child:
5:9903738f2587
Commit message:
Changed full scale to 2g

Changed in this revision

aconno_ble/aconno_ble.h Show annotated file Show diff for this revision Revisions of this file
source/main.cpp Show annotated file Show diff for this revision Revisions of this file
source/main.h Show annotated file Show diff for this revision Revisions of this file
--- a/aconno_ble/aconno_ble.h	Fri Mar 09 16:55:53 2018 +0000
+++ b/aconno_ble/aconno_ble.h	Fri Mar 09 17:05:05 2018 +0000
@@ -25,7 +25,7 @@
             int16_t gyroscope[3];
             int16_t accelerometer[3];
             int16_t magnetometer[3];
-            uint16_t acc_lsb_value;
+            int16_t acc_lsb_value;
         };
         struct{
             float temperature;
--- a/source/main.h	Fri Mar 09 16:55:53 2018 +0000
+++ b/source/main.h	Fri Mar 09 17:05:05 2018 +0000
@@ -15,8 +15,8 @@
 #include "GapAdvertisingData.h"
 
 #define DEBUG               (0)
-#define PRINT_ON_RTT        (1)
-#define DEBUG_LED           (1)
+#define PRINT_ON_RTT        (0)
+#define DEBUG_LED           (0)
 #define NANO_MODULE         (0)
 //#define LSB_VALUE           (192)
 #define LSB_VALUE           (16)