AnsweredAssumed Answered

printf("..") to terminal using FRDM board

Question asked by Allen Wong on Jun 3, 2015
Latest reply on Jun 3, 2015 by ZhangJennie

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?

Outcomes