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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/29/03 03:38
Read: times


 
#49621 - RE: clarification
Responding to: ???'s previous message
The code:


    ...
WORKLOOP: 
    CPL   LEDPIN 
    JMP   WORKLOOP
    ...


Will indeed produce a 50% duty cycle signal on the LEDPIN if that was an output port bit AND there were no interrupts occuring. Any interrrupt from within this tight loop will cause the LEDPIN to have the current high or low period of the output signal extended by what ever time it takes to execute the interrupt routine.

(Now note that if you did the non-standard thing of jumping out of the interrupt routine that was discussed in another thread here over the last week, then the waveform on LEDPIN would stop becasue the code never came back to this tight loop).

Michael Karas


List of 21 messages in thread
TopicAuthorDate
a few doubts            01/01/70 00:00      
   RE: a few doubts            01/01/70 00:00      
      Here we go again            01/01/70 00:00      
   RE: a few doubts            01/01/70 00:00      
      RE: a few doubts            01/01/70 00:00      
      RE: a few doubts            01/01/70 00:00      
         RE: a few doubts            01/01/70 00:00      
            RE: clarification            01/01/70 00:00      
               RE: clarification            01/01/70 00:00      
                  RE: clarification            01/01/70 00:00      
                     RE: clarification - also this?            01/01/70 00:00      
                     RE: clarification            01/01/70 00:00      
                        RE: clarification            01/01/70 00:00      
                           RE: clarification            01/01/70 00:00      
                              RE: clarification            01/01/70 00:00      
                        RE: clarification            01/01/70 00:00      
                           RE: clarification            01/01/70 00:00      
                              RE: clarification            01/01/70 00:00      
                        RE: clarification            01/01/70 00:00      
   Faith-healing?            01/01/70 00:00      
      RE: Faith-healing?            01/01/70 00:00      

Back to Subject List