Private
Public Access
2
0
Files
mraa/examples/python/readi2c.py
2014-04-11 17:06:24 +01:00

11 lines
118 B
Python

#!/usr/bin/env python2
import pymaa
x = pymaa.I2CSlave(27,28)
x.address(0x62)
y= " "
ret = x.read(y, 2)
print(y)