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

writing PWM code for two motors

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



Joined: 01 Apr 2014
Posts: 1
Location: Lebanon

View user's profile Send private message

writing PWM code for two motors
PostPosted: Tue Apr 01, 2014 6:29 am     Reply with quote

Hello,

I'm having a lot of difficulties writing a PWM code to control two motors. I need to run the two motors like following:
100% - 100%
75% - 25%
25% - 75%
0% - 0%

any help is appreciated, thanks!

http://postimg.org/image/ma18676zv/
temtronic



Joined: 01 Jul 2010
Posts: 9202
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Apr 01, 2014 7:30 am     Reply with quote

You should post which PIC you need help with. Some already have PWM peripherals internal,some don't.
Also motor specs are important. Some are 'low frequency' drive only, some like HF.

The more information you supply the better,faster help we cn offer.

You should use the 'search' feature on this forum as several topics about PWM/motors are here !

hth
jay
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