Hi to all,
Some note to the ADC on 16F690.
This evening i've playing with my code for the 16F690, I've
experimentig with clock, ranging from 8Mhz to 125Khz.
The DS of 16F690 at page 109 has a nice table for FOSC/?? it seems
that FOSC/16 can handle all the frequency range from
125khz to 8Mhz, at least on my test set (LPC with LCD attached on
portC) it works.
At page 111 there is a list of action to take to make ADC work, I
followed it and explained explicitly in the code and it works.
I'm guessing a way  to assign the input pin in the library but I'm
thinking it's better to assign it in the code, together with ANSEL
settings too, but Sebastien could give me an advice.
The 16F690 has only the selection on VDD or external VREF trough pin
RA1 for the reference voltage and seem it can trough CHS bit in ADCON0
select an internal reference
of 0,6 volt and a CVREF for the conversion, (I didn't undestand very
well the DS on this point).

PS (Not for Rob and Sebastien that I bothered with PM)  my code for
16F690 is on Jallist at
http://tech.groups.yahoo.com/group/jallist/files/CarloD/
That's all for now.

Regards, Carlo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to