-
#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()
returnstrue
before calling this function because it will clear status flags (used byavailable()
).- Returns:¶
A 16-bit integer if
setDataMode()
is givenPINNACLE_ANYMEAS
.0
ifsetDataMode()
is not givenPINNACLE_ANYMEAS
.