Moti Guy

timer options - 13213 evaluation kit

Discussion created by Moti Guy on Dec 8, 2007
Latest reply on Dec 11, 2007 by Mads Westergreen
I want to add an interval between the messages on the screen. I tried the timer that attached in the script file but I can't see any different behavior. What is the problem and what can I use instead. Thank you.
(The conrtroller is MC9S08GB60 in the - 13213 Evaluation Kit )
the script\code (mapp.c) "MyStarNetworkApp":
  /*print a message on the LCD also*/
            LCD_ClearDisplay();
            LCD_WriteString(1,"Ready to send");
            LCD_WriteString(2,"and receive data");    
    
            //TMR_FreeTimer(tmrTimerID_t timerID);
           TMR_StartIntervalTimer( mSoftTimerId_c, TmrMinutes(1), App_IntervalTimeoutHandler);
           Led1Flashing();
            LCD_ClearDisplay();
            LCD_WriteString(1,"Press 'OK' on");
            LCD_WriteString(2,"the red butten");    
          TMR_StartIntervalTimer( mSoftTimerId_c, TmrMinutes(1), App_IntervalTimeoutHandler);  
           LCD_ClearDisplay();
            LCD_WriteString(1,"Starting");
            LCD_WriteString(2,"report");  
           gState = stateListen;
      TS_SendEvent(gAppTaskID_c, gAppEvtDummyEvent_c);
          }
        }
      }     

Outcomes