trabalho

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

Fork of HelloWorld_IKS01A1 by ST

Revision:
29:f96590e6058d
Parent:
28:840000670c88
Child:
30:673e342f1932
--- a/expansionBoard.cpp	Sun May 08 14:49:34 2016 +0000
+++ b/expansionBoard.cpp	Mon May 09 01:42:41 2016 +0000
@@ -4,6 +4,7 @@
 
 using namespace std;
 
+
 /* Instantiate the expansion board */
 static X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(D14, D15);
 
@@ -16,10 +17,13 @@
 static TempSensor *temp_sensor2 = mems_expansion_board->pt_sensor;
 
 static Ticker ticker;
-float T;
 void readData();
 
+
 class ExpansionBoard {
+public:
+    float T;
+    
 private:
     /* Helper function for printing floats & doubles */
     static char *printDouble(char* str, double v, int decimalDigits=2) {