This library provides data update method to Fastsensing.
Dependents: SCP1000_Fastsensing
Diff: Fastsensing.h
- Revision:
- 0:f26c02be48f9
- Child:
- 3:d0d34327ea79
diff -r 000000000000 -r f26c02be48f9 Fastsensing.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Fastsensing.h Mon Mar 20 01:28:59 2017 +0000 @@ -0,0 +1,17 @@ +#ifndef FASTSENSING_H +#define FASTSENSING_H + +#include "mbed.h" +#include "EthernetInterface.h" +#include "HTTPClient.h" + +class Fastsensing{ +private : + EthernetInterface eth; //eth instance is created from EthernetInterface + HTTPClient http; //http instance is created from HTTPClient +public: + int updateData(char *deviceId, char *channelId, double data); + int updateDataAll(char *deviceId, char *channelId[3], float data[3]); +}; + +#endif \ No newline at end of file