You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.

bammer187/mcp4728

1.0.0

Latest
uploaded 18 hours ago

readme

# MCP4728 Library for ESP-IDF (v5.x)
A lightweight, ESP-IDF compatible C driver for the MCP4728, a 12-bit, quad-channel Digital-to-Analog Converter (DAC) with non-volatile memory (EEPROM).

## Table of Contents
  - [Features](#features)
  - [Installation](#installation)
  - [License](#license)

## Features

- Modern ESP-IDF: Uses the new i2c_master driver (v5.0+).
- Quad Channel Support: Independent control for Channels A, B, C, and D.
- Flexible VREF: Toggle between internal (2.048V) and external (VDD) voltage references.
- Multiple Write Modes: Support for Single Write, Fast Write, Multi Write and Sequential Write.

## Installation

### Manual Integration

Copy the source files (`mcp4728.c`, `mcp4728.h`, `CMakeLists.txt`) into your project's components or main directory. Ensure the header file is accessible within your include path.

### Add as submodule
`git submodule add https://github.com/Bammer187/MCP4728.git components/mcp4728`

Don't forget to update your `CMakeLists.txt`!

## License

[MIT License](LICENSE)

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "bammer187/mcp4728^1.0.0"

download archive

Stats

  • Archive size
    Archive size ~ 8.28 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

bammer187/mcp4728 version: 1.0.0
|