I2Cwrapper v0.4.0
Generic framework for Arduino I2C target devices
ESP32sensors.ino File Reference

Functions

void interruptFromTarget ()
 
void setup ()
 
void loop ()
 
void halt (const char *m)
 

Variables

uint8_t i2cAddress = 0x08
 
const uint8_t interruptPinTarget = 26
 
const uint8_t interruptPinController = 26
 
const uint8_t touchPin = 4
 
const uint8_t touchPinID = 0
 
I2Cwrapper wrapper (i2cAddress)
 
volatile bool interruptFlag = false
 
unsigned long then = millis()
 

Function Documentation

◆ halt()

void halt ( const char *  m)

◆ interruptFromTarget()

void interruptFromTarget ( )

◆ loop()

void loop ( )

◆ setup()

void setup ( )

Variable Documentation

◆ i2cAddress

uint8_t i2cAddress = 0x08

◆ interruptFlag

volatile bool interruptFlag = false

◆ interruptPinController

const uint8_t interruptPinController = 26

◆ interruptPinTarget

const uint8_t interruptPinTarget = 26

◆ then

unsigned long then = millis()

◆ touchPin

const uint8_t touchPin = 4

◆ touchPinID

const uint8_t touchPinID = 0

◆ wrapper

ESP32sensorsI2C sensors& wrapper ( i2cAddress  )