Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By paulo_05
#62806 Hello all,

I'm starting to work with ESP8266, but I'm having problem to compile this code.

I'm sure that I've added the library <PubSubClient.h>.

but the compiler is telling that there is a problem at callback procedure. But at the line 29, there is a call for callback as a function. Is there any mistake on that???

https://github.com/ItKindaWorks/ESP8266 ... htNode.ino


Thank you,

Paulo
User avatar
By mrburnette
#63136 The PubSubxxxxx.h file is part of MQTT and you will need to separately download the library into your path (or put it in the sketch path and change #include<PubSubClient.h> to #include"./PubSubClient.h")

Discussed in this thread: http://www.esp8266.com/viewtopic.php?f=29&t=2152