Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/04/04 15:44
Read: times


 
#78706 - RE: MCB900 and LPC932 WDT
Responding to: ???'s previous message
Erik I GOT IT!

It was this:
ES = 1; // enable UART interrupt

I had it in my initialization routine, but I did not have this:

void UART(void) interrupt 4 //Interrupt number for serial port
{
RI = 0; // clear receive interrupt flag
}

So it was causing an error. Now I have it all included and just to double check it I put two traps in the program and it is shifting, LED = 1 and generating an interrupt, like I wanted to. I know it is doing the interrupt because as soon as it enters it, the LED = 0 and P2 does something else...jajaja
Got it!
Thanks Erik. You are always helpful.
If you want you can errase this thread
J.C.

List of 28 messages in thread
TopicAuthorDate
MCB900 and LPC932 WDT            01/01/70 00:00      
   RE: MCB900 and LPC932 WDT            01/01/70 00:00      
      RE: MCB900 and LPC932 WDT            01/01/70 00:00      
         RE: MCB900 and LPC932 WDT            01/01/70 00:00      
            RE: MCB900 and LPC932 WDT            01/01/70 00:00      
               RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                  RE: MCB900 and LPC932 WDT            01/01/70 00:00      
   RE: MCB900 and LPC932 WDT            01/01/70 00:00      
      RE: MCB900 and LPC932 WDT            01/01/70 00:00      
         RE: MCB900 and LPC932 WDT            01/01/70 00:00      
            RE: MCB900 and LPC932 WDT            01/01/70 00:00      
               RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                  RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                     RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                        RE: MCB900 and LPC932 WDT            01/01/70 00:00      
   RE: MCB900 and LPC932 WDT            01/01/70 00:00      
      RE: MCB900 and LPC932 WDT            01/01/70 00:00      
         RE: MCB900 and LPC932 WDT            01/01/70 00:00      
            RE: MCB900 and LPC932 WDT            01/01/70 00:00      
               RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                  RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                     RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                        RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                           RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                              RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                                 RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                                    RE: MCB900 and LPC932 WDT            01/01/70 00:00      
                        RE: MCB900 and LPC932 WDT            01/01/70 00:00      

Back to Subject List