@Override
    public int readValue() {
        byte [] buffer = new byte[1];
        int value = 0;
        
        try {
            tempSensor.read(address, buffer, 0, buffer.length);
            value = buffer[0];
        } catch(Exception ex) {
            ex.printStackTrace();
        }
        
        return value;        
    }