11 lines
118 B
Python
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)
|