This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

multitasking in ARM7

hello,

can I do multitasking in ARM LPC2148.
I want to display on LCD, LED and 7segment at the same time.

is it possible?????

Parents
  • void Timer0Handler (void) __irq
    {
      timer_counter++;
    
      if ( timer_KEYpress != 0 )
        timer_KEYpress--;
      else
        KEYS_check();
    
      if ( timer_GPIO8LED != 0 )
        timer_GPIO8LED--;
    
      if ( timer_MSPI7LED != 0 )
        timer_MSPI7LED--;
    
      T0IR = 1;                     /* clear interrupt flag */
      VICVectAddr = 0;              /* Acknowledge Interrupt */
    }
    

Reply
  • void Timer0Handler (void) __irq
    {
      timer_counter++;
    
      if ( timer_KEYpress != 0 )
        timer_KEYpress--;
      else
        KEYS_check();
    
      if ( timer_GPIO8LED != 0 )
        timer_GPIO8LED--;
    
      if ( timer_MSPI7LED != 0 )
        timer_MSPI7LED--;
    
      T0IR = 1;                     /* clear interrupt flag */
      VICVectAddr = 0;              /* Acknowledge Interrupt */
    }
    

Children