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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/05/07 15:52
Read: times


 
#146626 - no more spikes if ..
Responding to: ???'s previous message
.. you do it in the ISR

Example, you need a resolution of 100usec (1%) set the timer to interrupt every 100uS and have a counter for high and one for low. In the ISR decrement 'active cointer', if zero change to the other side and complement the port pin Voila

Erik

List of 9 messages in thread
TopicAuthorDate
LPC935 Timer PWM Mode            01/01/70 00:00      
   can't answer            01/01/70 00:00      
   7.3728            01/01/70 00:00      
      use the CodeArchitect to figure it out            01/01/70 00:00      
         Erik need some more help            01/01/70 00:00      
            for that slow (100HZ) you need to            01/01/70 00:00      
   Trying to follow            01/01/70 00:00      
      no more spikes if ..            01/01/70 00:00      
   I will try your suggestion but,            01/01/70 00:00      

Back to Subject List