An open API service indexing awesome lists of open source software.

https://github.com/lexus2k/esp32_i2c

ESP32 i2c C++ library
https://github.com/lexus2k/esp32_i2c

esp32 i2c

Last synced: about 2 months ago
JSON representation

ESP32 i2c C++ library

Awesome Lists containing this project

README

          

# esp32_i2c

## Usage

```.cpp
#include "wire_i2c.h"

WireI2C I2C( I2C_NUM_1, 400000 );

...

I2C.begin();
...
I2C.beginTransmission( 0x3C ); // device address
I2C.write(0x80); // send some data
I2C.write(0x00); // send some data
I2C.endTransmission();
...
I2C.end();

```