![Adafruit AirLift Shield ESP32 Manual Download Page 47](http://html.mh-extra.com/html/adafruit/airlift-shield-esp32/airlift-shield-esp32_manual_2845848047.webp)
(https://adafru.it/EVC)
By default it will connect to to the Twitter banner image API, parse the username and followers and display
them.
(https://adafru.it/EVD)
Adapting Other Examples
Once you've got it connecting to the Internet you can check out the other examples. The only change
you'll want to make is at the top of the sketches, add:
#define SPIWIFI SPI // The SPI port
#define SPIWIFI_SS 10 // Chip select pin
#define ESP32_RESETN 5 // Reset pin
#define SPIWIFI_ACK 7 // a.k.a BUSY or READY pin
#define ESP32_GPIO0 6
And then before you check the
status()
of the module, call the function
WiFi.setPins(SPIWIFI_SS,
SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI);
like so:
// check for the WiFi module:
WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI);
while (WiFi.status() == WL_NO_MODULE) {
Serial.println("Communication with WiFi module failed!");
// don't continue
delay(1000);
}
© Adafruit Industries
https://learn.adafruit.com/adafruit-airlift-shield-esp32-wifi-co-processor
Page 47 of 56