Test the multi-file project
In this article, I’ll show you how to test the application after the work you did in up to now (please check the previous article if necessary).
I remind you that at this point, we have an application that consists of four files:
In the previous article, we compiled the program successfully. Now, let’s test it on the target device.
Connect your ESP32 to your computer. Click on the compile and upload button.
In the previous article, we only changed the internal organization of the application, not its functionality. Therefore, I expect to see the same output on the device as in the previous test.
You may need to hold on the boot button to put the ESP32 to upload mode if the first upload attempt does not succeed.
Once the upload is finished, open the serial port (1, see image below).
You should see the sensor values rolling through (2).
It means that the application with its new organization and architecture works as expected.
Let's move on to the next lecture now where we'll spend a little bit more time playing around with the Git repository.
"ESP32 Unleashed" series
Ready for some serious learning?
A new learning adventure awaits you.
Create an application that will stretch your existing knowledge and skills.
ESP32 Unleashed is a project course
This course is perfect for people familiar with the ESP32, especially graduates of ESP32 For Busy People.
It is a guided project, designed to teach you how to use modern tools to create modern embedded applications based on the ESP32.
Just click on the big red button to learn more.
Jump to another article in this series.