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 support@ccsinfo.com

problem with software pwm for rc servo

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



Joined: 03 Oct 2009
Posts: 1

View user's profile Send private message

problem with software pwm for rc servo
PostPosted: Sat Oct 03, 2009 5:46 am     Reply with quote

hi,
I have some problem about rc servo pwm signal because
my system only have 3ms to generate pwm.
One channel pwm have 1ms~2ms high signal
but I must generate 4 channel pwm.
So, my question is how to generate 4 channel at the same time?
(Generate 4ch pwm <2ms, 4 pwm pin high in the same time, then pin low with each channel pwm value).
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Oct 03, 2009 7:14 am     Reply with quote

Just drive all 4 pins high at the same time, then drive each of them low at the proper time during the 2ms window. Where's the problem?
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