@dansmith wrote:
I am wanting to get a Blinkt to flash in a specific continuous pattern depending on a message received over MQTT.
Is there a simple way that I am missing in Python to get it to run the appropriate pattern in the background and free up the on_message function to listen for other commands? I am just trying to avoid threads if at all possible...
I would post code, but mine is effectively just the example code from the paho_mqtt/blinkt example at the moment.
Ta!
Dan
Posts: 3
Participants: 2