esp32 and wifi

presentation /* Rui Santos & Sara Santos - Random Nerd Tutorials https://RandomNerdTutorials.com/learn-esp32-with-arduino-ide/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ #include <WiFi.h> #include <WebServer.h> // Replace with your network credentials const char * ssid = "SSID" ; const char * password = "PASSWORD" ; // Assign output variables to GPIO pins const int output26 = 26 ; const int output27 = 27 ; String output26State = "off" ; String output27State = "off" ; // Create a web server object WebServer server ( 80 ) ; // Function to handle turning GPIO 26 on void handleGPIO26On () { output26State = "on" ; digitalWrite ( output26, HIGH ) ; handleRoot () ; } // Function to handle ...