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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/23/09 18:43
Read: times


 
#167766 - will lower refresh rate
Responding to: ???'s previous message
Steve M. Taylor said:
Chico Magalhães said:

Some better idea?


Yes, read the messages that people have posted, like MATTIAS and ERIK says, use timer interrupts. There are plenty of postings here showing how its done. You don't seem to have tried ! Read the 8052 bible for timer details.

Steve


As I got, the code dont LOOK much diferent than mine, just more complicated.

My code is right, this I have certain.
It can be put in a timer interruption.
But putting it in a timer interruption will just slow it even more

Cant see a faster way to do a multiple software PWM.
I think my code is VERY clean, easy to use, and special to use with LEDs, as it gives full low and full high output with 0 and 255 respectively.

List of 29 messages in thread
TopicAuthorDate
Simple PWM to drive led            01/01/70 00:00      
   Loop lasts too long!            01/01/70 00:00      
      I put the delay...            01/01/70 00:00      
         Did you see?            01/01/70 00:00      
            didnt noticed!            01/01/70 00:00      
               Ok, try the following...            01/01/70 00:00      
                  the JMP            01/01/70 00:00      
                     I thought this was your intention...            01/01/70 00:00      
   Another try            01/01/70 00:00      
   is possible to filter the pwm output...            01/01/70 00:00      
      PWM from a Timer interrupt?            01/01/70 00:00      
      questions            01/01/70 00:00      
   best code until now            01/01/70 00:00      
      read replies            01/01/70 00:00      
         will lower refresh rate            01/01/70 00:00      
            Time to switch...            01/01/70 00:00      
            Wrong.            01/01/70 00:00      
               my code is doing what I want            01/01/70 00:00      
                  TIming            01/01/70 00:00      
                     FOR NOW!!!!            01/01/70 00:00      
                        The old story...            01/01/70 00:00      
               DJNZ            01/01/70 00:00      
                  Dec            01/01/70 00:00      
                     Do nothing?            01/01/70 00:00      
                        Speed            01/01/70 00:00      
                           slowdown            01/01/70 00:00      
                              Chico            01/01/70 00:00      
                                 Not yet...            01/01/70 00:00      
                                    good catch            01/01/70 00:00      

Back to Subject List