Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

scan wifi networke micropython

nets = wlan.scan()
for net in nets:
    if net.ssid == 'mywifi':
        print('Network found!')
        wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000)
        while not wlan.isconnected():
            machine.idle() # save power while waiting
        print('WLAN connection succeeded!')
        break
Comment

PREVIOUS NEXT
Code Example
Python :: check file existtnece python 
Python :: pandas options 
Python :: show only integer values matplotlib 
Python :: python split space or tab 
Python :: python get timestamp 2020-04-23T12:00:00Z 
Python :: select inverse with conditions pandas 
Python :: smote on dataframe of feature 
Python :: scikit learn decistion tree 
Python :: activate python venv in windows 
Python :: stack widgets in tkinter 
Python :: how to record youtube cc in python 
Python :: message to dict protobuf 
Python :: pysimplegui start value 
Python :: reverse string python 
Python :: how to change theme of jupyter notebook 
Python :: mechanize python #3 
Python :: change state enabled tkinter 
Python :: how to send image to template thats not in static flask 
Python :: better way to see full csv in jupyter notebook 
Python :: python comment header 
Python :: standard streams with python3 
Python :: copy along additional dimension numpy 
Python :: pandas select only columns with na 
Python :: pandas cumsum 
Python :: string remove ,replace, length in python 
Python :: url routing in django 
Python :: get output of a function in a variable python 
Python :: python string not contains 
Python :: minio python make an object 
Python :: query first 5 element in django 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =