XPoint 0.1.0
Hardware-agnostic crosspoint matrix routing library
Loading...
Searching...
No Matches
WireI2C.h File Reference

Arduino Wire wrapper implementing I2CInterface. More...

#include "I2CInterface.h"
#include <Wire.h>

Go to the source code of this file.

Classes

class  WireI2C
 I2CInterface implementation that delegates to the Arduino Wire library. More...
 

Detailed Description

Arduino Wire wrapper implementing I2CInterface.

On Arduino targets (ARDUINO defined) begin() calls Wire.begin() and writeRegister() performs a standard two-byte I2C register write using the Wire library.

On host targets (no ARDUINO) both methods are no-ops so the library compiles without Arduino headers for testing.