Jura-Python-BT
Code for control and payment system of Jura Coffee Machine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
i2c_lib.i2c_device Class Reference

Public Member Functions

def __init__ (self, addr, port=1)
 
def write_cmd (self, cmd)
 
def write_cmd_arg (self, cmd, data)
 
def write_block_data (self, cmd, data)
 
def read (self)
 
def read_data (self, cmd)
 
def read_block_data (self, cmd)
 

Public Attributes

 addr
 
 bus
 

Constructor & Destructor Documentation

◆ __init__()

def i2c_lib.i2c_device.__init__ (   self,
  addr,
  port = 1 
)

Member Function Documentation

◆ read()

def i2c_lib.i2c_device.read (   self)

◆ read_block_data()

def i2c_lib.i2c_device.read_block_data (   self,
  cmd 
)

◆ read_data()

def i2c_lib.i2c_device.read_data (   self,
  cmd 
)

◆ write_block_data()

def i2c_lib.i2c_device.write_block_data (   self,
  cmd,
  data 
)

◆ write_cmd()

def i2c_lib.i2c_device.write_cmd (   self,
  cmd 
)

◆ write_cmd_arg()

def i2c_lib.i2c_device.write_cmd_arg (   self,
  cmd,
  data 
)

Member Data Documentation

◆ addr

i2c_lib.i2c_device.addr

◆ bus

i2c_lib.i2c_device.bus

The documentation for this class was generated from the following file: