The present code is developed on Arduino IDE 2.x Notice that you will need an Arduino IDE that is tailored for this specific Adafruit Feather ESP32 V2 processor! Please follow the installation instructions for the Adafruit Feather ESP32 V2
If you select in the menu bar of Arduino IDE 2.x Tools, the settings for the Adafruit Feather ESP32 V2 processor and the project are the following:

