Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

Blinkt MQTT

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles