function cmd_i2c_write(address,data) endfunction