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

Search found 9 matches
CCS Forum Index
Author Message
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Sun Oct 26, 2008 2:24 pm   Subject: 50Hz PWM
No i am using CCS PIC C, but i do have the mplab 8 plugin installed. Could that cause the problems.

I am just copying the same program posted online and just compiling and it is finding an error in ...
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Sun Oct 26, 2008 3:13 am   Subject: Program doesn't work
PCM,

Thank you for all your help, i am having some problems trying to compile the sample program you directed me to earlier, even when i copy the same program using the microcontroller it gives me ...
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Fri Oct 24, 2008 6:11 pm   Subject: 50Hz PWM
Thank you PCM.

But i have a question here, i cannot use a trimpot in the project that this servo is intended for.

I am basically trying to take in a digital compass string and based on that bear ...
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Fri Oct 24, 2008 5:43 pm   Subject: 50Hz PWM
PCM and RLScott,

Thank you very much.

Yes you are right i need to vary the on and off time just changing the duty cycle is not enough.

I am currently trying to to use the Servos.c file in PIC ...
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Tue Oct 21, 2008 1:15 am   Subject: 50Hz PWM
Thank you PCM for your help.

I will only be using one Servo, but the code helps, its a good example. I am trying to control the servo using a digital compass ($HCHDG string) the heading from the di ...
  Topic: 50Hz PWM
RF_Geek

Replies: 13
Views: 23813

PostForum: General CCS C Discussion   Posted: Tue Oct 21, 2008 12:21 am   Subject: 50Hz PWM
I am trying to control my DC motor using an electronic speed controller which controls the DC motor with a 50Hz PWM frequency. But i believe that with 8Mhz clock (Internal clock) the lowest frequency ...
  Topic: Using CCS PIC C Wizard PWM and Internal OSC
RF_Geek

Replies: 5
Views: 14053

PostForum: General CCS C Discussion   Posted: Sun Oct 19, 2008 1:29 am   Subject: Using CCS PIC C Wizard PWM and Internal OSC
Thank you everyone, i wanted to know does it matter if you use CCP1 or CCP2 because i want control two devices with PWM.


here is the updated code, do you guys see any problems.


#include < ...
  Topic: Using CCS PIC C Wizard PWM and Internal OSC
RF_Geek

Replies: 5
Views: 14053

PostForum: General CCS C Discussion   Posted: Sun Oct 19, 2008 12:03 am   Subject: Using CCS PIC C Wizard PWM and Internal OSC
if i use CCP1 for the motor i need to use CCP2 for the Servo, in that case what settings do i use.
  Topic: Using CCS PIC C Wizard PWM and Internal OSC
RF_Geek

Replies: 5
Views: 14053

PostForum: General CCS C Discussion   Posted: Sat Oct 18, 2008 11:22 pm   Subject: Using CCS PIC C Wizard PWM and Internal OSC
I am newbie to microcontroller programming i am using the CCS PIC C 4.057.

Microcontroller PIC18F4550

Using the Project Wizard option, i am trying to setup a internal oscillator to run at 8MHz. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group