Referring to Figure 1, you need to design a system for controlling the overflow of a water tank. The system consists of a PIC18 microcontroller, one level sensor attached to detect the highest level of the tank, one DC motor placed outside of the tank and connected to a valve that will allow or block the water flow to the tank. An alarm system is used to indicate water overflow. When the water level is below the level sensor, the valve will normally open and allow water to flow into the tank. When the water reaches the highest level of the tank, the DC motor will be activated to close the valve and simultaneously switch on the alarm. Build a C program based on the given condition.