![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
web server load-drive and reading sensors based on LPC1768
Dependencies: DHT22 EthernetNetIf HTTPServer mbed
Diff: Leituras/Leitura.h
- Revision:
- 0:3125f39d20b4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Leituras/Leitura.h Mon Dec 07 14:06:24 2015 +0000 @@ -0,0 +1,40 @@ +#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 \ No newline at end of file