#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include "adc.h"

#ifdef _ADC_10B_V3

/*********************************************************************
* Function Name     : ConvertADC10
* Description       : This function starts an A/D conversion by 
*                     clearing ADCON1<SAMP> bit.
* Parameters        : None
* Return Value      : None
*********************************************************************/

void ConvertADC10(void)
{
     AD1CON1bits.SAMP = 0; /* clear SAMP to start conversion*/
}

#else
#warning "Does not build on this target"
#endif
