Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By ajafferji
#36948 Hi, I have a ESP8266 version 12E (NodeMCU) which I am flashing using the Arduino IDE.
I have a raspberry Pi on the same network which has got Mosquitto MQTT running.

I am trying to write a sketch to connect to Wifi and then publish a simple message (Hello World) to the topic outTopic. It should be quite simple but no matter what I do it does not work. My Mosquitto broker is working fine as I can publish and subscribe from it from other devices.

Does anyone have a Arduino IDE sketch which would be able to do this?

Thanks