Tema SCPI Negru Rares-Razvan

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_TemperatureEx by Valentin Tanasa

Revision:
12:7772974713ac
Parent:
11:baafa4f7a15e
diff -r baafa4f7a15e -r 7772974713ac myData.h
--- a/myData.h	Fri May 06 18:14:18 2016 +0000
+++ b/myData.h	Sat Oct 08 10:30:15 2016 +0000
@@ -5,7 +5,7 @@
 #define MAX_WORD_PAGE_DATA 254u // to be computed as round_next_int(MAXBUFFER*sizeof(myDataL_t)+sizeof(myData_t))
 
 #define MAX_PAGE_NUM (NRF_FICR->CODESIZE - 1) // 255
-#define MIN_PAGE_NUM 155u
+#define MIN_PAGE_NUM 180u
 
 
 typedef struct{
@@ -32,11 +32,10 @@
 } connection_update_t;
 
 typedef struct {
-    uint16_t light;
-    uint16_t gndV;
+    int16_t x;
+    int16_t y;
+    int16_t z;
     uint16_t temp;
-    bool led_on;
-    bool led2_on;    
 } myPayload_t;