You can compile and flash the joystickdemo program onto the ESP32. To do this, just type this command:
$ make flash
Make sure the ESP32 serial port is correct.
After the screen is flashed, you can see the LCD display on the screen. Try to move the dot position of the screen by changing direction using the analog joystick. Figure 3-8 shows a sample of the program output on the LCD:
Figure 3-8: A sample of the program output on the LCD for the joystickdemo project
You can see this demo on my YouTube account at the following link: https://youtu.be/lIVEkXa16Fg
Next, we'll learn how to work with a sound buzzer on the ESP33 board.