Sensor GP2Y0E03 and I2C communication

I recently purchased a GP2Y0E03 distance sensor, it Works with I2C communication.

Interesting, the sensors I can find for "GP2Y0E03" doesn't have an I2C interface but simply an analog output. Please post a link to the sensor you are using!

Connecting that analog output to A0 and then setting that same pin as an output in the Arduino code produces a short circuit. This may have ruined the Arduino pin and the sensor.