Requesting data from SRF02 Range finder via I2C

Change the line in question to:

  Wire.write((byte) cmdByte);                             // Send Command Byte

Or better still, change:

#define cmdByte (0x00)       //Command byte

to:

const byte cmdByte = 0x00;       //Command byte