Hey folks,
As one of the steps in my ongoing PINE64 robot project, I wrote a couple of blog posts that deal with connecting the Pine and an Arduino Mega over the I2C bus. My Pine is the 1GB version running longsleep's Ubuntu image.
The first post covers the the pin connection and the Arduino sketch.
http://nanite.co/2017/01/12/extending-gp...using-i2c/
The second post explains the C and C# code for controlling the Arduino from the Pine.
http://nanite.co/2017/01/13/controlling-...nd-csharp/
As one of the steps in my ongoing PINE64 robot project, I wrote a couple of blog posts that deal with connecting the Pine and an Arduino Mega over the I2C bus. My Pine is the 1GB version running longsleep's Ubuntu image.
The first post covers the the pin connection and the Arduino sketch.
http://nanite.co/2017/01/12/extending-gp...using-i2c/
The second post explains the C and C# code for controlling the Arduino from the Pine.
http://nanite.co/2017/01/13/controlling-...nd-csharp/