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:
- 1:469ea8167b80
- Parent:
- 0:07ff689741d2
File content as of revision 1:469ea8167b80:
#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