Some help with Adafruit MQTT Arduino library


#1

I’m using the Adafruit MQTT Arduino library to control some Neopixels based on values supplied via three feeds I have set-up, but I’m having some problems with it.

In the first instance, the values I’m getting from the server will be retained, meaning when I start the microcontroller it should automatically receive the values last set on the three feeds that I have set up - except, for some reason, only one of them is getting through - the other two fail, with the serial monitor reporting Dropped a packet twice. Sending new values on any of the feeds get recieved fine, it’s just an issue when starting for a first time.

Here’s a link to my code:

https://github.com/LimeBlast/clantastic/blob/master/arduino/arduino.ino

Thank you.