Debugging I2C io commands.
Switch to output is made beforehand. And some delay is provided before back switch to input.
Fixed BMSD command format.