parameters: (self, reg, value)
docstring: Writes an 8-bit value to the specified register/address
docstring_summary: Writes an 8-bit value to the specified register/address
docstring_tokens: Writes an 8 - bit value to the specified register / address
function: def write8(self, reg, value):
      "Writes an 8-bit value to the specified register/address"
      try:
        self.bus.write_byte_data(self.address, reg, value)
        if self.debug:
          print "I2C: Wrote 0x%02X to register 0x%02X" % (value, reg)
      except IOError, err:
        return self.errMsg()
function_tokens: def write8 ( self , reg , value ) : try : self . bus . write_byte_data ( self . address , reg , value ) if self . debug : print "I2C: Wrote 0x%02X to register 0x%02X" % ( value , reg ) except IOError , err : return self . errMsg ( )