update
This commit is contained in:
parent
d96039460f
commit
cdd51bee73
|
@ -32,7 +32,7 @@ def t():
|
||||||
client.publish('demo', payload=json.dumps(data, ensure_ascii=False), qos=0)
|
client.publish('demo', payload=json.dumps(data, ensure_ascii=False), qos=0)
|
||||||
# add(t)
|
# add(t)
|
||||||
print(t)
|
print(t)
|
||||||
time.sleep(1)
|
time.sleep(10)
|
||||||
|
|
||||||
|
|
||||||
def on_connect(client, userdata, flags, rc):
|
def on_connect(client, userdata, flags, rc):
|
||||||
|
|
Loading…
Reference in New Issue