定义 byte 数组,然后赋值,如dim dataout(3) as bytedataout(0)=&H00dataout(1)=&H24dataout(2)=&H44MSComm1.Output = dataout
comport1.input另外数据放在数组中