Degree Computation

Dependencies:   aconno_SEGGER_RTT LSM9DS1 Si7006A20 adc52832_common aconnoMPL115A1 aconno_bsp

Files at this revision

API Documentation at this revision

Comitter:
jurica238814
Date:
Tue Jan 08 13:15:30 2019 +0000
Parent:
4:cb3513aa9814
Commit message:
Small changes.

Changed in this revision

aconnoHelpers/aconnoHelpers.cpp 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
--- a/aconnoHelpers/aconnoHelpers.cpp	Tue Jan 08 13:06:07 2019 +0000
+++ b/aconnoHelpers/aconnoHelpers.cpp	Tue Jan 08 13:15:30 2019 +0000
@@ -160,7 +160,6 @@
         (float) temp_acc[0],
          (float) temp_acc[2]);
           
-        cout<<"degree: " << degreeValue;  
         advertisementPacket.degree = degreeValue;  
         
     /*if(advertisementType < 1)
--- a/source/main.cpp	Tue Jan 08 13:06:07 2019 +0000
+++ b/source/main.cpp	Tue Jan 08 13:15:30 2019 +0000
@@ -39,7 +39,7 @@
 {
     BLE &ble = BLE::Instance();
 
-    //advertisementPacket.header = APPLICATION_ID;
+    advertisementPacket.header = APPLICATION_ID;
     /* setup advertising */
     ble.gap().accumulateAdvertisingPayload(
         GapAdvertisingData::BREDR_NOT_SUPPORTED);