maa: Initial commit of maa, a python and nodejs I2C skeleton only
This commit is contained in:
9
examples/python/readi2c.py
Normal file
9
examples/python/readi2c.py
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python2
|
||||
|
||||
import pymaa
|
||||
|
||||
x = pymaa.I2C(27,28)
|
||||
y= " "
|
||||
ret = x.read(0x62, y, 2)
|
||||
|
||||
print(y)
|
||||
Reference in New Issue
Block a user