#include "CirquePinnacle.h"
PinnacleTouchI2C::PinnacleTouchI2C(pinnacle_gpio_t dataReadyPin, uint8_t slaveAddress = 0x2A);

Create an instance to interface with the Pinnacle ASIC over an I2C bus.

Parameters:
pinnacle_gpio_t dataReadyPin

The input pin connected to the Pinnacle ASIC’s “Data Ready” pin.

Changed in version 2.0.0: dr_pin is a required parameter.

Previously, this parameter conditionally accepted a sentinel value to use the “SW Data Ready” flag in the STATUS_1 register.

uint8_t slaveAddress = 0x2A

The slave I2C address of the Pinnacle ASIC. Defaults to 0x2A.