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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/09/05 10:45
Read: times


 
#104961 - t2mod=2;
Responding to: ???'s previous message
Giaminac Duratia Riawan said:

T2MOD = 0x01;


Please reread the datasheet. Bit 0 of T2MOD sets up/down counter, you need to set bit 1 of T2MOD to enable the output on P1.0.

Jan Waclawek




List of 14 messages in thread
TopicAuthorDate
Timer 2 interrupt of AT89S52            01/01/70 00:00      
   A lot of interrupts            01/01/70 00:00      
      useless            01/01/70 00:00      
         it's not interrupt, actually            01/01/70 00:00      
            post your program here            01/01/70 00:00      
               here is the program            01/01/70 00:00      
                  t2mod=2;            01/01/70 00:00      
                     still the same            01/01/70 00:00      
                        I asked almost same question but!            01/01/70 00:00      
                           I also generate PWM            01/01/70 00:00      
                              the point is            01/01/70 00:00      
                                 the point is I just made it            01/01/70 00:00      
                        retry            01/01/70 00:00      
                           Thanks a lot JW            01/01/70 00:00      

Back to Subject List