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

multiple ADC inputs and PWM

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



Joined: 24 Feb 2011
Posts: 8

View user's profile Send private message

multiple ADC inputs and PWM
PostPosted: Fri Feb 25, 2011 1:48 am     Reply with quote

Can any1 please guide me to a sample code?

I want to program a PIC with 4 analog to digital inputs (voltage measurement) and use PWM based on these inputs using PIC18F2520
_________________
Mr Operating Systems
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Feb 25, 2011 2:09 pm     Reply with quote

These threads show how to read one ADC channel and then use the value
to control the PWM module:
http://www.ccsinfo.com/forum/viewtopic.php?t=40007
http://www.ccsinfo.com/forum/viewtopic.php?t=43169
http://www.ccsinfo.com/forum/viewtopic.php?t=40222
kashif12



Joined: 24 Feb 2011
Posts: 8

View user's profile Send private message

thanks
PostPosted: Sun Feb 27, 2011 5:52 am     Reply with quote

Bundle of thanks
_________________
Mr Operating Systems
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