Last active
July 2, 2016 01:35
-
-
Save pedrogk/9fee1c85ceafb9289f4633c331edc862 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import paho.mqtt.publish as publish | |
import time | |
print(“Enviando 0...") | |
publish.single("ledStatus", "0", hostname=“tuserver”) | |
time.sleep(3) | |
print(“Enviando 1...") | |
publish.single("ledStatus", "1", hostname=“tuserver”) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment