marek 1 tháng trước cách đây
mục cha
commit
e5a37bfd59
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      apps/getData.py

+ 2 - 0
apps/getData.py

@@ -66,6 +66,8 @@ async def ble_task():
                 await client.start_notify(PRESSURE_UUID, notification_handler)
                 await client.start_notify(HUMIDITY_UUID, notification_handler)
                 await client.start_notify(ALTITUDE_UUID, notification_handler)
+
+                await asyncio.sleep(1)
         except Exception:
             outdoorConnected = 0
             print("exception while connecting or getting data")