adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
573 stars 291 forks source link

not work on Mega #80

Open intel2004 opened 7 years ago

intel2004 commented 7 years ago

I create a project with this library for publish/subcribe with qos1 support to a internal broker with support of lastwill. I test my code with Arduino Nano, Ethernet Shield, lastest version of IDE 1.8.2 and last version of this library. Now the same code when is was uploaded on the Arduino Mega 2560 not work! i check the cable and it work well, because if i upload example sketch WebServer it's works fine. in the same situation i upload example mqtt_ethernet and in debug it's remain on init card. the best result that i obtain is to put pin 53 as output and high and manual ip configuration, sometimes ping work but not ever and the mqtt support is absent...