pandaemonium Member Jun 20, 2005 #1 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?
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?
T terka New Member Jun 29, 2005 #3 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
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
I iftikhar ahmed New Member Feb 4, 2007 #4 Hi friend; mikroC, mikroElektronika C compiler has built in library for ADC "Adc_Read" try to use it.
Hi friend; mikroC, mikroElektronika C compiler has built in library for ADC "Adc_Read" try to use it.