adcRead


Read the value of 10-bit analog input of microcontroller

UINT adcRead( UBYTE channel );

Parameters


unsigned char channel - analog channel to read

Return Value


unsigned int - 16-bit analog value ( lower 10-bits hold the value )

Remarks


N/A

Requirements


adc.h

Example


N/A

Library


AVR C Library Reference