The following program is about LDR simulation using pic16f877a and there is LED connected to the pic which is on unless there is dark on the surface of the LDR.
Answer the following questions
a-Explain the program.
b-draw the ckt diagram according to question
c- Define LDR , what is the purpose of it, draw 2d curve of it