Here, we uploaded the code to the ESP32 and enabled the serial monitor. The lower panel in Visual Studio should start displaying text when it has connected to a Wi-Fi network and sent messages to IoT Hub. We also created some sample code for receiving cloud-to-device messages.





















































