A/D Conversion Source Code

Status
Not open for further replies.
I've been trying to find some C source code examples for A/D conversion, voltage and frequency, using PICs or AVRs. Can anyone give me some pointers?
 
Please, internal o external adc?

if external adc, you must use a serial o parallel routine to receive the result bytes.

if internal, you must setup the ports to analog, set_adc channel, start adc conversion, and finally read_adc()....

the result can be in 8 or 10 bits......to 10 bits, set #device adc=10, i think, im not sure

Bye
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…