Hello folks,
What's wrong with my code below:
for(;;) {
y=x % 3;
if(y==1)
{
LED_G_SetVal(Green_Ptr);
LED_B_SetVal(Blue_Ptr);
LED_R_NegVal(Red_Ptr);
}
printf("\r\nRed LED\r\n"); /*Red LED Output to Terminal*/
I can't see the "Red LED" in terminal output.
Do i need to include any delay?