I am using ESP8266 board library 2.7.4, arduino 1.8.13 -I managed to migrate it over to Json6, compile and upload to the board once. I'm not sure what changed, but now I am stuck with the compilation error:
WiFiMQTTManager.cpp:11:64: error: array used as initializer WiFiMQTTManager::WiFiMQTTManager(int resetPin, char* APpassword) {
Hi, please ignore, the issue was with the initialisation of the _mqtt username and password.
char _mqtt_username[40] ;//= "YOURMQTTUSERNAME";
char _mqtt_password[40] ;//= "YOURMQTTPASSWORD";
I am using ESP8266 board library 2.7.4, arduino 1.8.13 -I managed to migrate it over to Json6, compile and upload to the board once. I'm not sure what changed, but now I am stuck with the compilation error: WiFiMQTTManager.cpp:11:64: error: array used as initializer WiFiMQTTManager::WiFiMQTTManager(int resetPin, char* APpassword) {