mirror of
git://soft.sys114.com/WiringPi2-Python
synced 2026-02-09 18:34:23 +09:00
Fixed ReadReg8 to use correct underlying method
This commit is contained in:
@@ -34,7 +34,7 @@ class I2C(object):
|
|||||||
def read(self,*args):
|
def read(self,*args):
|
||||||
return wiringPiI2CRead(*args)
|
return wiringPiI2CRead(*args)
|
||||||
def readReg8(self,*args):
|
def readReg8(self,*args):
|
||||||
return wiringPiI2CRead(*args)
|
return wiringPiI2CReadReg8(*args)
|
||||||
def readReg16(self,*args):
|
def readReg16(self,*args):
|
||||||
return wiringPiI2CReadReg16(*args)
|
return wiringPiI2CReadReg16(*args)
|
||||||
def write(self,*args):
|
def write(self,*args):
|
||||||
|
|||||||
Reference in New Issue
Block a user