original_docstring: Writes a 16-bit value to the specified register/address pair
docstring: Writes a 16-bit value to the specified register/address pair
docstring_tokens: Writes a 16 - bit value to the specified register / address pair
code: def write16(self, reg, value):
      "Writes a 16-bit value to the specified register/address pair"
      try:
        self.bus.write_word_data(self.address, reg, value)
        if self.debug:
          print ("I2C: Wrote 0x%02X to register pair 0x%02X,0x%02X" %
           (value, reg, reg+1))
      except IOError, err:
        return self.errMsg()
code_tokens: def write16 ( self , reg , value ) : try : self . bus . write_word_data ( self . address , reg , value ) if self . debug : print ( "I2C: Wrote 0x%02X to register pair 0x%02X,0x%02X" % ( value , reg , reg + 1 ) ) except IOError , err : return self . errMsg ( )
short_docstring: Writes a 16-bit value to the specified register/address pair
short_docstring_tokens: Writes a 16 - bit value to the specified register / address pair
comment: "Writes a 16-bit value to the specified register/address pair"