adc16_get_cycle

Pico ADC-16

adc16_get_cycle

Top  Previous  Next

 

short int adc16_get_cycle (

       long far  * cycle,

       short int   port);

 

This routine returns the number conversion cycles (conversions on all selected channels) since the unit was opened.

If you wish to get a value for every conversion, rather than taking values at fixed time intervals, you should periodically call this routine, then call adc16_get_value each time that cycle changes.