This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This example shows how to connect to Cayenne using an ESP8266 and send/receive sample data. | |
// Make sure you install the ESP8266 Board Package via the Arduino IDE Board Manager and select the correct ESP8266 board before compiling. | |
//#define CAYENNE_DEBUG | |
#define CAYENNE_PRINT Serial | |
#include <CayenneMQTTESP8266.h> | |
#include "SoftwareSerial.h" | |
#include "DHT.h" | |
// WiFi network info. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This example shows how to connect to Cayenne using an ESP8266 and send/receive sample data. | |
// Make sure you install the ESP8266 Board Package via the Arduino IDE Board Manager and select the correct ESP8266 board before compiling. | |
//#define CAYENNE_DEBUG | |
#define CAYENNE_PRINT Serial | |
#include <CayenneMQTTESP8266.h> | |
//#include "CayenneWiFiClient.h" | |
#include "CayenneMQTTClient.h" | |
//#include "CayenneMQTTWiFi.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Alaplap:"WeMos D1 R2 & mini, 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200" | |
In file included from C:\Users\ŐryGábor\Documents\Arduino\libraries\Cayenne-MQTT-ESP-master\src/CayenneMQTTWiFiClient.h:21:0, | |
from C:\Users\ŐryGábor\Documents\Arduino\libraries\Cayenne-MQTT-ESP-master\src/CayenneMQTTESP8266.h:23, | |
from C:\Users\Ĺ?ryGábor\Documents\Arduino\mqtt_szell2\mqtt_szell2.ino:6: | |
C:\Users\ŐryGábor\Documents\Arduino\libraries\Cayenne-MQTT-ESP-master\src/CayenneArduinoMQTTClient.h: In instantiation of 'static void CayenneArduinoMQTTClient::publishData(CayenneTopic, unsigned int, const T&, const char*, const char*) [with T = void(int); CayenneTopic = CayenneTopic]': |