Sharp IR sensor NXT-G block
NXT Repository/Programming/NXT-G/

Mindsensors.com released this block for use with the Sharp IR sensors series. The control panel allows setting the sensor type (nicely affecting the compare slider to give the right range for that device) and the I2C address.
Another block (DIST-Update) on the same download page allows calibration of the DIST-Nx EEPROM parameters.