C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.cpp: In member function 'void ESPHelper::publish(const char, const char, bool)':
C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.cpp:223:39: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char*}' [-fpermissive]
client.publish(topic, payload, retain);
^
In file included from C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.h:31:0,
from C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.cpp:23:
Any ideia what can be causing this error?
Arduino: 1.8.1 (Windows 10), Placa:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.cpp: In member function 'void ESPHelper::publish(const char, const char, bool)':
C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.cpp:223:39: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char*}' [-fpermissive]
client.publish(topic, payload, retain);
In file included from C:\Users\Francisco\Documents\Arduino\libraries\ESPHelper-master\src\ESPHelper.h:31:0,
C:\Users\Francisco\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:114:12: error: initializing argument 2 of 'boolean PubSubClient::publish(const char, const uint8_t, unsigned int)' [-fpermissive]
exit status 1 Erro ao compilar para a placa Generic ESP8266 Module.