Flashing and running

Now that we have written the program that displays the weather data from the sensor, let's display the data on our LCD. You can compile and flash our program into the ESP32 board with the following command:

$ make flash

If this is successful, you should see temperature and humidity values on the LCD display. You can see my program's output in Figure 2-17:

Figure 2-17: Displaying temperature and humidity on the LCD

We have successfully used the ESP32 board to create a weather monitoring system.

Get Internet of Things Projects with ESP32 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.