web server load-drive and reading sensors based on LPC1768

Dependencies:   DHT22 EthernetNetIf HTTPServer mbed

Leituras/Leitura.h

Committer:
douglasofranco
Date:
2015-12-07
Revision:
0:3125f39d20b4

File content as of revision 0:3125f39d20b4:

#ifndef LEITURA_H_
#define LEITURA_H_
#include "mbed.h"
#include "DHT22.h"

using namespace std;
extern    int AC;
extern    int err;
extern    int  szTemp;
extern    int  szUmid;
extern    char szTemp2[10];
extern    char szUmid2[10];
extern    char Corrente[50];
extern    char Corrente2[50];
extern    char Corrente3[50];
extern    char Tensao[10];
extern    char TensCC[10];
extern    float sensorValue;
extern    float sensorValue_aux;
extern    float sensorValue2;
extern    float sensorValue_aux2;
extern    float sensorValue3;
extern    float sensorValue_aux3;
extern    float getValor;
extern    float Tcc;
extern    float TensAC;

class Leituras
{ 
public:
    void clima();
    void corrente();
    void corrente2();
    void corrente3();
    void TensaoCC();
    void TensaoAC();
  
 };
 
#endif