-
#include "CirquePinnacle.h" -
int16_t PinnacleTouch::getMeasureAdc();
A non-blocking function (meant to be used in conjunction with
startMeasureAdc()) to retrieve the result of ADC measurements based on parameters passed tostartMeasureAdc(). Be sure thatavailable()returnstruebefore calling this function because it will clear status flags (used byavailable()).- Returns¶
A 16-bit integer if
setDataMode()is givenPINNACLE_ANYMEAS.0ifsetDataMode()is not givenPINNACLE_ANYMEAS.