eadf / esp8266_i2c_driver

ESP8266 I2C Driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp8266 I²C driver

This driver has been superseded by this I²C driver.

I've reduced the public API of zarya's I²C driver to just i2c_readRegister(), i2c_writeRegister() and i2c_init().

The driver uses two arbitrary pins, just give i2c_init() the pin numbers and it will connect the dots.

  • Add #include "i2c/i2c.h" to your code
  • Add driver/i2c (or whatever you name this folder to) to the MODULES line in the makefile

You will also need to include the easygpio library to your project in the same way.

About

ESP8266 I2C Driver

License:GNU General Public License v2.0


Languages

Language:C 81.7%Language:C++ 18.3%