ftdi-i2c
1.2.0 • Public • Published I2C library for Node.js
Installation
In your Node.js project folder, run:
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
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.2.0
1
Version History
- VersionDownloads (Last 7 Days)
- 1.2.0
1
Package Sidebar
Install
Weekly Downloads