Greetings, I’m trying to run the first workshop but I get this error every time.
Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, Flash, nodemcu, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200”
C:\Users\nicol\Desktop\sketch_mar11a\sketch_mar11a.ino: In function ‘void loop()’:
sketch_mar11a:111:38: error: ‘class MQTTClient’ has no member named ‘state’
Serial.println(device.mqttClient.state());
^
exit status 1
‘class MQTTClient’ has no member named ‘state’
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.