From 28fdb4fe861bf0d3b711fa5b6d7082a623458f79 Mon Sep 17 00:00:00 2001 From: maloknsi Date: Sat, 16 Mar 2024 00:04:50 +0200 Subject: [PATCH] Update README.md fix --- micropython/bluetooth/aioble/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/bluetooth/aioble/README.md b/micropython/bluetooth/aioble/README.md index 1c2fc7ae5..5d4208c0d 100644 --- a/micropython/bluetooth/aioble/README.md +++ b/micropython/bluetooth/aioble/README.md @@ -118,7 +118,7 @@ temp_char = await temp_service.characteristic(_ENV_SENSE_TEMP_UUID) data = await temp_char.read(timeout_ms=1000) -temp_char.subscribe(notify=True) +await temp_char.subscribe(notify=True) while True: data = await temp_char.notified() ```