Creating a user-friendly experience for potential renters
By now, you will have noticed that the code contained in each of the preceding sections was just a small part of this project. In this section, we will combine everything to create a user-friendly experience for potential renters. The following is the flow chart for this project:
Figure 7.9 – The project flow chart
The preceding flow chart shows the flow of the commands and instructions for various scenarios – that is, when the payment has not been made and the car is not parked or parked, and when the payment has been made and the car is parked or not. The flow chart will help us understand and create a logic to write the final code of the project. The final code has all the functionalities that we have previously discussed in this chapter. It will wait for the button press, read the sensor data, wait for the payment, and show the parking status on the OLED. The code is available...