sandeepmistry / node-chip-io

Johnny-Five IO Plugin for the Next Thing Co. C.H.I.P.
MIT License
96 stars 28 forks source link

Change i2cRead/i2cWrite from bus 1 to 2 #10

Closed bbx10 closed 8 years ago

bbx10 commented 8 years ago

Here is the pull request for issue #9. I verified 2 i2c devices work on /dev/i2c-2 with this change.

ugate commented 8 years ago

@bbx10 I ran into the same issue, but I think a better option would be to add a way to support passing in the bus number (see #11 )

bbx10 commented 8 years ago

@ugate Please submit a pull request.

rwaldron commented 8 years ago

@bbx10 https://github.com/sandeepmistry/node-chip-io/pull/12