intel / node-realsense

MIT License
24 stars 21 forks source link

rgb_led.js is using bit-banging for I2C #233

Closed jketreno closed 6 years ago

jketreno commented 6 years ago

The MinnowBoard Turbot provides I2C through the low-speed expansion port.

To reduce potential problems for users when they try and chain multiple LEDs and program them all, as well as problems associated with CPU access to the GPIO bit banging, we should be using the I2C pins (13 and 15) and I2C provided by the system.

jketreno commented 6 years ago

Nevermind. The P9813 uses a 2-wire protocol, but it isn't I2C. Bit banging does seem to be the way to do it.