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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/27/05 17:12
Read: times


 
#94014 - Of Course Not!
Responding to: ???'s previous message
Here is the fuction I call. Which then calls T1_Start.

void lcd_time(void)
{
TR1 = 0;
IP0 &= 0xF7; // set timer 1 isr priority to 0
IP0H &= 0xF7;
TMOD |= 0x01;
TAMOD = 0x00;
T1_Start();
ET1 =1;
EA = 1;
}

void T1_Start (void)
{
TR1 = 0;
TH1 = (34816); // 34816
TL1 = (34816); // .2
TF1 = 0;
TR1 = 1;
}


List of 11 messages in thread
TopicAuthorDate
LPC932 Timer Variable            01/01/70 00:00      
   Call?!            01/01/70 00:00      
      Of Course Not!            01/01/70 00:00      
         Initialisation?            01/01/70 00:00      
            Here it is Andy!            01/01/70 00:00      
               2 things            01/01/70 00:00      
                  You're the Teacher here            01/01/70 00:00      
                     replies            01/01/70 00:00      
               No, that's not the same code!            01/01/70 00:00      
   Suspicious pre-increments            01/01/70 00:00      
      Sorry - my mistake            01/01/70 00:00      

Back to Subject List