nebrius / raspi-i2c

Provides access to I2C on the Raspberry Pi from Node.js
MIT License
30 stars 9 forks source link

Remove 32 byte limit for plain I2C #10

Closed sgoll closed 7 years ago

sgoll commented 8 years ago

When using raspi-i2c to send or receive plain I2C data, the payload need not be limited to 32 bytes. This pull request lifts that limitation.

See #9 and fivdi/i2c-bus#23 for more information.

nebrius commented 8 years ago

This looks good at a quick glance to me, but I'd like to get @fivdi's input first since he wrote it.

fivdi commented 8 years ago

It also looks good to me. lib/index.js needs to be generated with babel.

nebrius commented 7 years ago

Bump, can you regenerate the built file @sgoll? Then this should be ready to land.

sgoll commented 7 years ago

@nebrius Done.

nebrius commented 7 years ago

Perfect, thanks @sgoll, and thanks again for taking the time to submit a PR!

nebrius commented 7 years ago

Just so you know, I'll try and get the update published to npm soon, but it may take me a few days to get to it. This is technically a breaking change and thus a semver major bump, so the process is a bit more complex in terms of coordinating updating raspi-io, which has another major breaking change lined up for release too.