like the post above,yes.the command i think was LED_on() and LED_off()
to test,put this in the "main"under /*********ADD YOUR CODE BELOW THIS LINE **********/
while(1);
{
LED_on();
delay_cycles(23);
LED_off();
delay_cycles(23);
}
this will cause your led to turn on for 1 second ,then turn off for 1 second ,and so forth until you turn it off
simply replace the code or just add LED_on() at the beginning of your photovore code,replacing the LED_off()
i hope this helps!