File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mpremote connect PORT mip install github:DavesCodeMusings/BTHome-MicroPython
26
26
mpremote connect PORT mip install aioble-peripheral
27
27
```
28
28
29
- Once you've got the modules installed, have a look at the code sample in [ main.py] ( main.py ) here in this repository.
29
+ Once you've got the modules installed, have a look at the code sample in [ main.py] ( src/ main.py) here in this repository.
30
30
31
31
Building your own sensor beacon boils down to this...
32
32
1 . Import the bthome module.
@@ -46,7 +46,7 @@ advert = beacon.pack_advertisement(BTHome.TEMPERATURE_SINT16, BTHome.HUMIDITY_UI
46
46
await aioble.advertise(BLE_ADV_INTERVAL_uS, adv_data=advert, connectable=False)
47
47
```
48
48
49
- See [ main.py] ( main.py ) for a more robust example.
49
+ See [ main.py] ( src/ main.py) for a more robust example.
50
50
51
51
## Will it run on Microcontroller X?
52
52
If the device has Bluetooth and can run recent versions of MicroPython, it should work.
You can’t perform that action at this time.
0 commit comments