Not able to Receive subscribed Message with PubSubClient.h in Arduino Uno R3
问题 #include "SPI.h" #include “WiFiEsp.h” #include <WiFiEspClient.h> #include “SoftwareSerial.h” #include <PubSubClient.h> #include <WiFiEspUdp.h> float temp=0; int tempPin = 0; int isClientConnected = 0; char data[80]; char ssid[] = “SSID”; // your network SSID (name) char pass[] = “PASSWORD”; // your network password int status = WL_IDLE_STATUS; // the Wifi radio’s status char deviceName = “ArduinoClient1”; IPAddress server(xxx,xxx,xxx,xxx); //MQTT server IP IPAddress ip(192,168,43,200); void