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 4 matches
CCS Forum Index
Author Message
  Topic: PIC24F08KA101 ADC CH SEL problem
ALEKANELENO

Replies: 8
Views: 9952

PostForum: General CCS C Discussion   Posted: Wed Jul 27, 2011 3:28 pm   Subject: PIC24F08KA101 ADC CH SEL problem
"Hmmm, I'm using 4.122" Would that make any difference -- were the header problems fixed?

"set_adc_channel(0 OR 1);" is near the beginning, after the timer setup calls.

In t ...
  Topic: PIC24F08KA101 ADC CH SEL problem
ALEKANELENO

Replies: 8
Views: 9952

PostForum: General CCS C Discussion   Posted: Wed Jul 27, 2011 11:00 am   Subject: PIC24F08KA101 ADC CH SEL problem
OK...just tried changing trisA to 0003...no effect...the data sheet says that AD1PCFG overrides anyway...the original code actually used the standard io (that had no effect either). Sorry about the l ...
  Topic: PIC24F08KA101 ADC CH SEL problem
ALEKANELENO

Replies: 8
Views: 9952

PostForum: General CCS C Discussion   Posted: Wed Jul 27, 2011 9:47 am   Subject: PIC24F08KA101 ADC CH SEL problem
Sorry for the delay...had to cut this down to bare bones and check if problem persisted.

#include <24F08KA101.h>
#DEVICE ADC=10

#FUSES NOWDT //No Watch Dog Timer
#FUSE ...
  Topic: PIC24F08KA101 ADC CH SEL problem
ALEKANELENO

Replies: 8
Views: 9952

PostForum: General CCS C Discussion   Posted: Tue Jul 26, 2011 5:06 pm   Subject: PIC24F08KA101 ADC CH SEL problem
I'm trying to use AN0 and AN1. When I call "set_adc_channel(0)" nothing happens, but the AN0 input is correctly digitized with a "set_adc_channel(1)" call. I cannot access AN1 at a ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group