-
#include "CirquePinnacle.h" -
bool PinnacleTouch::available();
Use this function to determine if there is new data to report. Internally, this function checks if the interrupt signal on the “data ready” pin (labeled “DR” in the pinout section) is active. Data, new or antiquated, can be retrieved using
read()depending on whatsetDataMode()is given.Note
If
PinnacleTouch()is givenPINNACLE_SW_DRas thedataReadyPinparameter, then this function will attempt to read data from the Pinnacle’s Status register. However, this tactic is only allowed forPINNACLE_RELATIVEorPINNACLE_ABSOLUTEmodes.- Returns¶
trueif there is new data to report;falseif there is no new data to report.