Step 1: Initialize ports, timer, ADC, and LCD functions.
Step 2: Enter infinite loop, turn on relay 1 by setting pin 0.0 high.
Step 3: Display "R:" on LCD and call ADC function to read value and display corresponding fault position based on ADC output.
Step 1: Initialize ports, timer, ADC, and LCD functions.
Step 2: Enter infinite loop, turn on relay 1 by setting pin 0.0 high.
Step 3: Display "R:" on LCD and call ADC function to read value and display corresponding fault position based on ADC output.
Step 1: Initialize ports, timer, ADC, and LCD functions.
Step 2: Enter infinite loop, turn on relay 1 by setting pin 0.0 high.
Step 3: Display "R:" on LCD and call ADC function to read value and display corresponding fault position based on ADC output.
Step1: Initialize the ports, declare timer, ADC, LCD functions.
Step2: Begin an infinite loop; turn on relay 1 by making pin 0.0 high. Step3: Display “R:” at the starting of first line in LCD. Step4: Call ADC Function, depending upon ADC output, displays the fault position. Step5: Call delay. Step6: Repeat steps 3 to 5 for other two phases.
Flowchart: Initialize input and output ports, LCD, ADC & timer