1.2.0 • Published 9 months ago

ftdi-i2c v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

I2C library for Node.js

Installation

In your Node.js project folder, run:
npm install ftdi-i2c
On the top of your JavaScript file, add:
const I2C = require("ftdi-i2c")

Quick example

const i2c = new I2C()
if (await i2c.open(0x57)) {
    await i2c.writeRegister(0x02, 0xC0)
    const val = await i2c.readRegister(0x02)
    console.log(val)
}

Use ftdi-d2xx

1.2.0

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago