CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

software pwm for pic16f73

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
whung john
Guest







software pwm for pic16f73
PostPosted: Fri Jul 06, 2007 12:18 am     Reply with quote

hi! everybody my friends.
i have a question for software pwm.
i think make a 20kHZ software pwm .and i can control motor.
please everybody can teach me.
thanks u.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jul 06, 2007 12:18 pm     Reply with quote

You can't do 20 KHz software PWM with enough resolution to be useful
(at least with the normal method of using a Timer interrupt).

Your PIC has two hardware PWM modules (CCP1 and CCP2). You should
use one of those to do your 20 KHz PWM.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group