Writing the ESP32 program