The program has three tasks. The first task is to set up and ensure that it is connected to the Wi-Fi. It will not do anything else until it establishes a connection. This program uses Free RTOS as its real-time operating system. RTOS allows threads to execute independently. This allows us to have two non-blocking threads. Our first thread performs a machine learning task, while the second performs an update task. The update task allows us to poll our web server on a less frequent basis.





















































