repository to manage all files related to the makeathon farm bot project (Software + Documentation).
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
-
- import paho.mqtt.client as mqtt
- from random import randrange, uniform
- import time
-
- mqttBroker ="mqtt.eclipseprojects.io"
-
- client = mqtt.Client("Temperature_Inside")
- client.connect(mqttBroker)
-
- while True:
- client.publish("ROBOT/ACTION/DRIVE")
- print("Just published to topic TEMPERATURE")
- time.sleep(0.5)
|