CircuitPython WiFi
It's easy to use the Adafruit AirLift breakout with CircuitPython and the
module. This module allows you to easily add WiFi to your project.
The ESP32SPI library requires a microcontroller with ~128KB of RAM or more. The SAMD21 will not
work.
CircuitPython Microcontroller Pinout
To use the board's pins with the AirLift shield, copy the following lines into your code:
esp32_cs = DigitalInOut(board.D10)
esp32_ready = DigitalInOut(board.D7)
esp32_reset = DigitalInOut(board.D5)
If you wish to use the GPIO0 pin on the ESP32 - solder the jumper on the back of the shield, highlighted
below:
Then, include the following code to use the pin:
esp32_gpio0 = DigitalInOut(board.D6)
CircuitPython Installation of ESP32SPI Library
You'll need to install the
Adafruit CircuitPython ESP32SPI
(https://adafru.it/DWV)
library on your
CircuitPython board.
First make sure you are running the
latest version of Adafruit CircuitPython
(https://adafru.it/Amd)
for your
© Adafruit Industries
https://learn.adafruit.com/adafruit-airlift-shield-esp32-wifi-co-processor
Page 21 of 56