Commit 6179f2bd authored by Daniel Kolibár's avatar Daniel Kolibár
Browse files

Update camera.py

parent 252a4db9
......@@ -7,7 +7,7 @@ import base64
def on_connect(client, userdata, flags, rc):
if rc == 0:
print("Connected successfully to MQTT broker")
client.subscribe("birdie/rx")
client.subscribe("birdie/rxtx/raspberry")
else:
print(f"Connecting to MQTT broker failed with code {rc}")
......@@ -34,4 +34,4 @@ client.on_message = on_message
client.on_publish = on_publish
client.connect("broker.hivemq.com", 1883, 60)
client.loop_forever()
\ No newline at end of file
client.loop_forever()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment