This commit is contained in:
xyj 2023-12-02 11:37:32 +08:00
parent f4710f929d
commit d9285b8405
1 changed files with 3 additions and 1 deletions

View File

@ -409,7 +409,9 @@ class UPLOAD:
def t1(self):
# run_with_client(self.client)
while (1):
self.client.publish('demo', 'test',qos=0)
self.client.publish('demo', 'test', qos=0)
time.sleep(60)
if __name__ == '__main__':
up = UPLOAD()