trabalho

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

Fork of HelloWorld_IKS01A1 by ST

logData.cpp

Committer:
nlsantos
Date:
2016-05-05
Revision:
13:569b49092661
Parent:
11:cea55a4c778c

File content as of revision 13:569b49092661:

#include "mbed.h"
#include "rtos.h"

// Considering removing this class Too hard working with it; prefer data_structure found on mailbonx.cpp
class LogData 
{

typedef struct {
  uint8_t   id;
  float    tempCelcius;
  float    tempFarenheit;
  float    humidity;
  float    pressure;
  int      accelerometer;
  int      gyroscope;
  int      magnetometer;
  int      dd;
  int      mm;
  int      yyyy;
  int      hh;
  int      min;
  int      ss;
  
  }log_data;

};