Skip to content

Instantly share code, notes, and snippets.

View arnocornette's full-sized avatar

Arno arnocornette

  • Gazzell
  • Belgium
View GitHub Profile
@arnocornette
arnocornette / mqttclient.py
Created March 8, 2019 21:21 — forked from Teebusch/mqttclient.py
quick fix and instructions for the ledfloor mqtt clinet
"""
## Usage
- publish to MQTT topic "ledfloorupdates" to change the color(s) of the LED floor
- send a string of the shape "x y r g b" to change the color of an individual pixel x,y to RGB(r,g,b)
- send a string of the shape "r g b" to change the color of all pixes to RGB(r,g,b)
## Starting the Server
- start the Raspberry Pi
- ssh pi@10.90.154.80