^
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\Syedul Bashar\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WiFi
Using library arduino-lib-hc-sr04-master at version 1.0.0 in folder: M:\Arduino\libraries\arduino-lib-hc-sr04-master
Using library ESP8266WebServer at version 1.0 in folder: C:\Users\Syedul Bashar\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer
Using library Adafruit_MQTT_Library-master at version 0.20.3 in folder: M:\Arduino\libraries\Adafruit_MQTT_Library-master
exit status 1
expected constructor, destructor, or type conversion before string constant
What is the difference between what I posted and what you posted? Yours had quotes, mine did not. I have already provided you with the correct code. Give it a try. See if it works. If you want somebody to write code for you, hire a programmer.
blh64:
What is the difference between what I posted and what you posted? Yours had quotes, mine did not. I have already provided you with the correct code. Give it a try. See if it works. If you want somebody to write code for you, hire a programmer.
I have already done that before and it still doesn't work.
Bro hiring someone will not help me learn and solve the problem. I am seeking help.