Skip to content

the-risk-taker/arduino-i2c-wire-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I2C Interface

The library simplifies work with the Arduino Wire library. Talk to the device using methods that only use the device address, registry and/or value.

Example

To see a real-life usage example, open the ADXL345 usage example, or my other projects that utilize that interface.

this->readByte(this->_I2CAddress, ADXL345_REG_ID, deviceID);
this->writeByte(this->_I2CAddress, ADXL345_POWER_CTL, registerValue);

About

The library simplifies work with the Arduino Wire library

Topics

Resources

License

Stars

Watchers

Forks

Languages