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 5 matches
CCS Forum Index
Author Message
  Topic: PIC10F322 A/D Converter Problems
needmoresleep

Replies: 11
Views: 17137

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2013 6:28 am   Subject: PIC10F322 A/D Converter Problems
It works Very Happy Very Happy Very Happy Very Happy Very Happy

I had thought that the channel needed to be set but I posted the wrong line that I had tested...

"and then SETUP_ADC_PORTS(sAN2), again no ...
  Topic: PIC10F322 A/D Converter Problems
needmoresleep

Replies: 11
Views: 17137

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2013 5:18 am   Subject: PIC10F322 A/D Converter Problems
I've tried the single ADC channel code suggested and still it doesn't work Sad

I've also tried setting the ADC clock to DIV_8 (for 1uS) and DIV_32 (for 4uS) and still no joy...

I then tried ...
  Topic: PIC10F322 A/D Converter Problems
needmoresleep

Replies: 11
Views: 17137

PostForum: General CCS C Discussion   Posted: Thu Jan 10, 2013 4:20 pm   Subject: PIC10F322 A/D Converter Problems
Thanks again for your help Gabriel.

I don't think I've fully understood the TAD delays and how the ADC clock influences them. I'll read up some more on them.

If I wanted to setup 2 analog channe ...
  Topic: PIC10F322 A/D Converter Problems
needmoresleep

Replies: 11
Views: 17137

PostForum: General CCS C Discussion   Posted: Thu Jan 10, 2013 3:06 pm   Subject: PIC10F322 A/D Converter Problems
Thanks for taking the time to reply Gabriel.

I left the commented code in (for reference), as thats the code I got the LEDS to flash with.

I've tried it with and without setting the tris_a regis ...
  Topic: PIC10F322 A/D Converter Problems
needmoresleep

Replies: 11
Views: 17137

PostForum: General CCS C Discussion   Posted: Thu Jan 10, 2013 1:31 pm   Subject: PIC10F322 A/D Converter Problems
OK, I'm new to this so please be gentle Smile

I have a Microchip PIC10F322 Dev Kit (AC103011) and can't get the A/D to work at all. I've tried my code to flash leds without the A/D etc. and that see ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group