i need help on my project topic. it is a controller that uses the sensor passive infrared sensor(PIR) and light dependent resistor (LDR). light dependent resistor senses the light intensity(that's day and night) and gives command for the light to come on, but the light intensity should be only 50% bright. then when the PIR detects movement then the light intensity of the LED should be 100% bright. i really need the source code and how to interface each of the component with pic16f877a.
thanks in anticipation