You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# SPDX-FileCopyrightText: 2020 ladyada for Adafruit Industries# SPDX-License-Identifier: MIT"""This example scans for any BLE advertisements and prints one advertisement and one scan responsefrom every device found."""fromadafruit_bleimportBLERadioble=BLERadio()
print("scanning")
found=set()
scan_responses=set()
foradvertisementinble.start_scan():
addr=advertisement.addressifadvertisement.scan_responseandaddrnotinscan_responses:
scan_responses.add(addr)
elifnotadvertisement.scan_responseandaddrnotinfound:
found.add(addr)
else:
continueprint(addr, advertisement)
print("\t"+repr(advertisement))
print()
print("scan done")
Now then the error is how its says in the title and with all the samples it dosent work, i have the leastest version off the pacages and circuit python and its on com7 if it helps, Sorry if its easy to fix i used micropython before now im useing it on the pico w
The text was updated successfully, but these errors were encountered:
my code is one off the samples:
Now then the error is how its says in the title and with all the samples it dosent work, i have the leastest version off the pacages and circuit python and its on com7 if it helps, Sorry if its easy to fix i used micropython before now im useing it on the pico w
The text was updated successfully, but these errors were encountered: