We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, can you please update your examples ?
const i2c = require('i2c-bus-promise') to const i2c = require('i2c-bus')
const i2c = require('i2c-bus-promise')
const i2c = require('i2c-bus')
and
i2c.open(1).then(async (bus) => { to i2c.openPromisified(1).then(async (bus) => {
i2c.open(1).then(async (bus) => {
i2c.openPromisified(1).then(async (bus) => {
because since i2c-bus 5.0.0 or newer the "promises" is pat of the API
The text was updated successfully, but these errors were encountered:
Instead of writing the changes in an issue u can just make a PR, then @williamkapke can simply merge it.
Sorry, something went wrong.
No branches or pull requests
Hi, can you please update your examples ?
const i2c = require('i2c-bus-promise')
to
const i2c = require('i2c-bus')
and
i2c.open(1).then(async (bus) => {
to
i2c.openPromisified(1).then(async (bus) => {
because since i2c-bus 5.0.0 or newer the "promises" is pat of the API
The text was updated successfully, but these errors were encountered: