コード例 #1
0
 def __init__(self, explorer_address = Explorer_ADDRESS):
     #the Explorer address
     OpenElectrons_i2c.__init__(self, explorer_address >> 1)
コード例 #2
0
ファイル: MYsmartUPS.py プロジェクト: jarvisteach/PiHub
 def __init__(self, address = I2C_ADDRESS):
     OpenElectrons_i2c.__init__(self, address >> 1)  
コード例 #3
0
ファイル: pilight.py プロジェクト: Emilleopold/PHYTON
    def __init__(self):

        #define the pilight address
        OpenElectrons_i2c.__init__(self, self.PILIGHT_ADDRESS)
コード例 #4
0
ファイル: SmartDrive.py プロジェクト: neuberfran/SmartDrivePY
 def __init__(self, SmartDrive_address=SmartDrive_ADDRESS):
     #the SmartDrive address
     OpenElectrons_i2c.__init__(self, SmartDrive_address >> 1)
コード例 #5
0
ファイル: pilight.py プロジェクト: ArrayZero/raspberry-pi
 def __init__(self, pilight_address = PILIGHT_ADDRESS):
     OpenElectrons_i2c.__init__(self, pilight_address >> 1)