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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/22/04 10:21
Read: times


 
#67184 - RE: pulse counter
Responding to: ???'s previous message
hi,
P1.2 is not an external counter source entrance. Use P3.4 or P3.5 instead.

I am using p1.2 for pulse counting ...
So you need polling this pin permanently and it is not good idea. Hardware of C51 is enough to support external events` counting itself. Use T0 or T1 pin as input and configure timer 0 or timer 1 as counter clocked with external source.

Regards,
Oleg

List of 15 messages in thread
TopicAuthorDate
pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
      RE: pulse counter            01/01/70 00:00      
         RE: pulse counter            01/01/70 00:00      
         RE: pulse counter            01/01/70 00:00      
            RE: pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
      RE: pulse counter            01/01/70 00:00      
         RE: pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
      RE: pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
   RE: pulse counter            01/01/70 00:00      
      RE: pulse counter            01/01/70 00:00      

Back to Subject List