WLAN 'Connecting to a Router' demo error.
-
Trying to run the demo for connecting to a router results in an error.
'NoneType' object is not iterable.
I think this refers to the line...
for net in nets:
after the assignment, nets = wlan.scan() nets is 'None'.Why doesn't this work?
The MicroPython website has the same demo but another demo uses ...
wlan.init(WLAN.STA)
instead of...
wlan = WLAN(mode=WLAN.STA)
but that doesn't work either.
I'm using a SyPy.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login