User Manual

In order, the example code...
Initializes the ESP32 over SPI using the SPI port and 3 control pins:
To use the AirLift FeatherWing's pins, replace the following lines into your code:
Tells our requests library the type of socket we're using (socket type varies by connectivity type - we'll be using the
adafruit_esp32spi_socket for this example). We'll also set the interface to an esp object. This is a little bit of a hack,
but it lets us use requests like CPython does.
esp32_cs = DigitalInOut(board.ESP_CS)
esp32_ready = DigitalInOut(board.ESP_BUSY)
esp32_reset = DigitalInOut(board.ESP_RESET)
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
esp = adafruit_esp32spi.ESP_SPIcontrol(spi, esp32_cs, esp32_ready, esp32_reset)
esp32_cs = DigitalInOut(board.D13)
esp32_ready = DigitalInOut(board.D11)
esp32_reset = DigitalInOut(board.D12)
requests.set_socket(socket, esp)
© Adafruit Industries
https://learn.adafruit.com/adafruit-airlift-featherwing-esp32-wifi-co-
processor-featherwing
Page 19 of 39