if
esp.status
==
adafruit_esp32spi.WL_IDLE_STATUS:
(
"ESP32 found and in idle mode"
)
(
"Firmware vers."
, esp.firmware_version)
(
"MAC addr:"
, [
hex
(i)
for
i
in
esp.MAC_address])
for
ap
in
esp.scan_networks():
(
"\t%s\t\tRSSI: %d"
%
(
str
(ap[
'ssid'
],
'utf-8'
), ap[
'rssi'
]))
(
"Done!"
)
to see the output. It should look
something like the following:
Make sure you see the same output! If you don't, check your wiring. Note that we've
changed the pinout in the code example above to reflect the CircuitPython
Microcontroller Pinout at the top of this page.
Once you've succeeded, continue onto the next page!
Internet Connect!
Once you have CircuitPython setup and libraries installed we can get your board
connected to the Internet. Note that access to enterprise level secured WiFi networks
is not currently supported, only WiFi networks that require SSID and password.
If you can read the Firmware and MAC address but fails on scanning SSIDs,
check your power supply, you may be running out of juice to the ESP32 and it's
resetting
©Adafruit Industries
Page 14 of 54