0

How to start MQTT client after setup
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

How to start MQTT client after setup

by gpezzella on Thu Jun 20, 2019 10:03 am

Hello all,

I know that ADAFRUIT_MQTT_Client must be istantiated before setup()
but my MQTT_login and MQTT_password are stored in EEPROM and as
you know I can read from there only after setup() is begin.

How resolve this empasse??

Thanks

gpezzella
 
Posts: 1
Joined: Thu Jun 20, 2019 9:37 am

Please be positive and constructive with your questions and comments.