Dependancies
Buy the components
Create a file Secret.h
in the same folder with the code.
$ tree
.
├── Secret.h
└── connect-wifi-arduino-esp32s3.ino
Include the actual Wifi SSID name and password in the file.
char ssid[] = "secret";
char pass[] = "secret";
Compile and upload the firmware to connect to the WiFi.