[beagleboard] Re: Raw device on I2C bus

2014-06-17 Thread Chriskner
Hi Helmut, I'm afraid that I can't help with BoneScript. Perhaps a good solution does exist (and other will chime in). However, another option would be to use Python. I am doing this now, and talking to my I2C devices is working fine. For Python, one needs to install 'smbus': apt-get

[beagleboard] Re: Raw device on I2C bus

2014-06-17 Thread Brandon I
The first result https://github.com/kelly/node-i2c for i2c with bonescript refers to node-i2c. That link has some examples. There are many good tutorials on i2c. Your transactions will contain a device address and some number of bytes to read or write. What those bytes are is specific to each