espp/i2c

0.21.0

uploaded 2 days ago
I2C (Legacy) component for ESP-IDF

readme

# I2C Component

The `I2C` class provides a simple interface to the I2C bus. It is a wrapper
around the esp-idf I2C driver.

A helper `I2cMenu` is also provided which can be used to interactively test
I2C buses - scanning the bus, probing devices, reading and writing to devices.

Note that the `I2CMenu` is only available if you compile with `exception support
enabled` as it relies on the `Cli` component, which requires exceptions.

## Example

The [example](./example) shows how to use the `I2C` component to communicate with
peripherals on the I2C bus.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/i2c^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 14.13 KB
  • Downloaded in total
    Downloaded in total 1 time
  • Downloaded this version
    This version: 1 time

Badge

espp/i2c version: 0.21.0
|