Fix Arduino MQTT code

Job ID: 34359911

Budget: $10 – $30 USD

I have an MQTT arduino code that is working, but after 1 loop the MQTT disconnects and is not sending messages again, so I need help to fix the code
Related categories: Electronics C++ Programming Arduino MQTT HTTP