Re: Mqtt subscribe example that i cobbled together. Flashing
Posted: Mon Apr 27, 2015 1:24 pm
Yes your right sorry for that, I will try to delete it now, excuse my ignorance.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
naish wrote:I'm unable to make it work.
I think I have a problem with the PubSubClient.h library. I've found 3 different versions, none of them work.
The most interesting error:
In file included from esp8266_pubsubclient.ino:1:0:
C:\Users\George\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\libraries\pubsubclient-master\src/PubSubClient.h:72:46: error: section attribute not allowed for '<anonymous>'
boolean publish_P(char *, uint8_t PROGMEM *, unsigned int, boolean);
Apart from other warnings, that will compile:
esp8266_pubsubclient.ino:7:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Any thoughts?