From f1187d5818aa0dee5e6489020915005ef92a7d54 Mon Sep 17 00:00:00 2001 From: David Horton <61114342+DavesCodeMusings@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:48:38 -0500 Subject: [PATCH] Fix units in ADV_INTERVAL constant Similar to fix already applied to README https://github.com/micropython/micropython-lib/commit/57ce3ba95c65d9823e8cc5284003967ff621bd46 --- micropython/bluetooth/aioble/examples/temp_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/bluetooth/aioble/examples/temp_sensor.py b/micropython/bluetooth/aioble/examples/temp_sensor.py index 54580f595..a6657ad63 100644 --- a/micropython/bluetooth/aioble/examples/temp_sensor.py +++ b/micropython/bluetooth/aioble/examples/temp_sensor.py @@ -20,7 +20,7 @@ _ADV_APPEARANCE_GENERIC_THERMOMETER = const(768) # How frequently to send advertising beacons. -_ADV_INTERVAL_MS = 250_000 +_ADV_INTERVAL_US = 250_000 # Register GATT server. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy