original_docstring: Writes an array of bytes using I2C format
docstring: Writes an array of bytes using I2C format
docstring_tokens: Writes an array of bytes using I2C format
code: def writeList(self, reg, list):
      "Writes an array of bytes using I2C format"
      try:
        if self.debug:
          print "I2C: Writing list to register 0x%02X:" % reg
          print list
        self.bus.write_i2c_block_data(self.address, reg, list)
      except IOError, err:
        return self.errMsg()
code_tokens: def writeList ( self , reg , list ) : try : if self . debug : print "I2C: Writing list to register 0x%02X:" % reg print list self . bus . write_i2c_block_data ( self . address , reg , list ) except IOError , err : return self . errMsg ( )
short_docstring: Writes an array of bytes using I2C format
short_docstring_tokens: Writes an array of bytes using I2C format
comment: "Writes an array of bytes using I2C format"