Make sure you fill in the networkName and networkPswd variables with the name (or SSID) and password of your
WiFi network! Once you've done that and uploaded the code, open your serial monitor.
Having a hard time seeing? Click the image for a closer look.
After your ESP32 connects to the WiFi network, it will wait for you to press the "Boot" button on your carrier board.
Tapping that will cause the ESP32 to make an HTTP request to example.com. You should see a string of HTTP
headers and HTML similar to the screenshot above.
Arduino Example: ESP32 BLE
Both the Board Manager install and the ESP32 arduino core install come with Bluetooth examples that range from
serial to serial to acting as a simple BLE device to functioning as either a Bluetooth server or client. Here we will
briefly go over the BLE_write example that can be found in Files > Examples > ESP32 BLE Arduino. This
example allows you to write messages on your phone that can then be read in a serial monitor on your computer.
This example works with a BLE scanner on your phone. A good, basic app is the BLE Scanner for iPhone or
Android. Make sure to install the app to follow along with this example.
Compile and upload the following code, or if you wish, open the BLE_write example from the Files > Examples >
ESP32 BLE Arduino menu. Make sure you have ESP32 MicroMod as your board and the correct port has been
selected.