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 3 matches
CCS Forum Index
Author Message
  Topic: PWM by software
jaguar

Replies: 5
Views: 5560

PostForum: General CCS C Discussion   Posted: Thu Sep 11, 2008 3:26 pm   Subject: PWM by software
Configure a timer to operate at some multiple of your desired frequency.

The more duty cycle resolution you want, the higher the multiple.

Then in the timer isr, use a incrementing variable to c ...
  Topic: PWM by software
jaguar

Replies: 5
Views: 5560

PostForum: General CCS C Discussion   Posted: Thu Sep 11, 2008 3:18 pm   Subject: PWM by software
Tell us the maximum PIC oscillator frequency that you will permit in your
design (4 MHz, 20 MHz, etc.), and tell us the resolution of the PWM that
you require (either in number of bits, or number of ...
  Topic: PWM by software
jaguar

Replies: 5
Views: 5560

PostForum: General CCS C Discussion   Posted: Wed Sep 10, 2008 3:59 pm   Subject: PWM by software
Hi!

I need to generate three independent PWM signals (by software) with a frequency of 100 Hz or 150 Hz. Each signal with different duty cycle which can be modified using several values saved in PI ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group