# i2c-mcp4725

> Library to communicate with MCP4725 over I2C

Latest version **1.0.4** (published 2018-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install i2c-mcp4725
pnpm add i2c-mcp4725
yarn add i2c-mcp4725
bun add i2c-mcp4725
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-02-07 |
| First published | 2018-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Themis Papameletiou |
| Maintainers | themicp |

## Links

- npm: https://www.npmjs.com/package/i2c-mcp4725
- Repository: https://github.com/themicp/i2c-mcp4725
- Homepage: https://github.com/themicp/i2c-mcp4725#readme
- Issues: https://github.com/themicp/i2c-mcp4725/issues
- npm.io page: https://npm.io/package/i2c-mcp4725

## Dependencies (1)

- [i2c-bus](https://npm.io/package/i2c-bus.md) ^1.2.5

## Recent versions

- 1.0.4 (latest) — 2018-02-07
- 1.0.3 — 2018-02-07
- 1.0.2 — 2018-02-07
- 1.0.1 — 2018-02-07
- 1.0.0 — 2018-02-07

## README

# i2c-mcp4725
Node.js library to communicate with MCP4725 over I2C

Ported version of Adafruit's Python library (https://github.com/adafruit/Adafruit_Python_MCP4725/)

MCP4725 Datasheet: https://www.sparkfun.com/datasheets/BreakoutBoards/MCP4725.pdf

## Example
``` javascript
const mcp4725 = require('i2c-mcp4725');

(async () => {
    // sets the voltage to 50% of VDD
    await mcp4725.setVoltage(2048);

    // sets the voltage to 100% of VDD
    await mcp4725.setVoltage(4095);

    // sets the voltage to 0% of VDD
    await mcp4725.setVoltage(0);
})();

---
_Source: https://npm.io/package/i2c-mcp4725 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
