12-15-2016, 03:37 PM
(This post was last modified: 12-19-2016, 03:39 PM by martinayotte.)
You can grab this library : https://github.com/swkim01/RPi.GPIO-PineA64
I've contribute to add I2c and SPI almost 4 weeks ago.
There is no example provided, but it should look like :
I've contribute to add I2c and SPI almost 4 weeks ago.
There is no example provided, but it should look like :
Code:
from RPi import I2C as i2c
i2c.init("/dev/i2c-1")
i2c.open(0x20)
i2c.write([0x00, 0x00])