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: A/D 16F916 Internal 4 Mhz Oscillator
williamspv

Replies: 5
Views: 7689

PostForum: General CCS C Discussion   Posted: Fri Feb 17, 2006 1:45 pm   Subject: A/D 16F916 Internal 4 Mhz Oscillator
Thank you for your help. VREF shouldn't have an effect on my A/D reading because I have VSS_VDD selected, right?

If I have ADC=8 I get 255. I I have ADC=10 I get 1023 or 0x3ff. Why does the A/D ...
  Topic: A/D 16F916 Internal 4 Mhz Oscillator
williamspv

Replies: 5
Views: 7689

PostForum: General CCS C Discussion   Posted: Fri Feb 17, 2006 1:20 pm   Subject: A/D 16F916 Internal 4 Mhz Oscillator
Even with the other setup code commented I still get the same results either 0 or 0x3ff for voltages varying from 3 - 5 volts at the pin.

Patrick
  Topic: A/D 16F916 Internal 4 Mhz Oscillator
williamspv

Replies: 5
Views: 7689

PostForum: General CCS C Discussion   Posted: Fri Feb 17, 2006 11:13 am   Subject: A/D 16F916 Internal 4 Mhz Oscillator
My problem is that I continually get either 0 0r 0x3ff in the ADRESH and ADRESL as the result of the A/D reading.

I am looking at table 12-1 of the spec and it shows an A/D RC clock source. Am I r ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group