Creating an IoT platform for smart agriculture. Collecting data and sending them to thingspeak for analysis
Dependencies: DHT11 LPS22HB LSM6DSL VL53L0X
ThingSpeak.h
- Committer:
- kaoriw
- Date:
- 2018-06-08
- Revision:
- 0:07ff689741d2
File content as of revision 0:07ff689741d2:
#ifndef TS_H #define TS_H #include "TCPSocket.h" #include "ISM43362Interface.h" /* Interface setting */ ISM43362Interface wifi(false);//MBED_CONF_APP_WIFI_SPI_MOSI, MBED_CONF_APP_WIFI_SPI_MISO, MBED_CONF_APP_WIFI_SPI_SCLK, MBED_CONF_APP_WIFI_SPI_NSS, MBED_CONF_APP_WIFI_RESET, MBED_CONF_APP_WIFI_DATAREADY, MBED_CONF_APP_WIFI_WAKEUP, false); /* Functions */ const char *sec2str(nsapi_security_t sec); int scan_demo(WiFiInterface *wifi); void send_values(char* urlBuffer); #endif