-
#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. To use the Pinnacle’s Software Data Ready flag instead, set this to
PINNACLE_SW_DR
. In general, it recommended to use the Hardware Data Ready pin for speed and efficient bus activity.Limits of anymeas mode
A Hardware Data Ready pin is required for anymeas mode.
- uint8_t slaveAddress = 0x2A¶
The slave I2C address of the Pinnacle ASIC. Defaults to
0x2A
.