We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7f34f6 commit 5db06d5Copy full SHA for 5db06d5
1 file changed
PyPortal_Azure_Plant_Monitor/code.py
@@ -66,6 +66,7 @@
66
# Connect to Azure IoT Central
67
device.connect()
68
69
+# Hide the splash screen and show the telemetry values
70
gfx.show_text()
71
72
while True:
@@ -87,6 +88,7 @@
87
88
"MoistureLevel": moisture_level
89
}
90
device.send_telemetry(json.dumps(message))
91
+ device.loop()
92
93
gfx.display_azure_status('Data sent!')
94
print('Data sent!')
0 commit comments