I’ve got a simple program to use the feather m0 wifi board and connect to my local router.
import streams & socket
import the wifi interface
from wireless import wifi
the wifi module needs a networking driver to be loaded
in order to control the board hardware.
FOR THIS EXAMPLE TO WORK, A NETWORK DRIVER MUST BE SELECTED BELOW
from microchip.winc1500 import winc1500 as wifi_driver
uncomment the following line to use the CC3000 driver (Particle Core or CC3000 Wifi shields)
from texas.cc3000 import cc3000 as wifi_driver
uncomment the following line to use the BCM43362 driver (Particle Photon)
from broadcom.bcm43362 import bcm43362 as wifi_driver
init the wifi driver!
The driver automatically registers itself to the wifi interface
with the correct configuration for the selected board
except Exception as e:
a list of security strings
for retry in range(10):
wifi.link(“BHNTG1682DC08”, wifi.WIFI_WPA2, “xxxxxxxx”)
So when I run this I get on the console:
I haven’t a clue as to what the problem could be. Can someone help me?