Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT Library changed #2

Open
driverblock opened this issue Aug 29, 2016 · 0 comments
Open

MQTT Library changed #2

driverblock opened this issue Aug 29, 2016 · 0 comments

Comments

@driverblock
Copy link

As of v 0.16.0, the Adafruit MQTT library no longer supports PROGMEM. As a result, the two examples will crash on ESP8266.

Please remove the lines referencing PROGMEM, and change the mqtt constructor to this:
// Setup the MQTT client class by passing in the WiFi client and MQTT server and login details. Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant