如何将serialport接收的字符串转换成十六进制数c# 关注baihe_591baihe_591本版等级: #1 得分:0回复于: 2008-06-02 09:44:00 Byte[] byte=new Byte[1];byte=0xf1;port1.Write(byte,0,1);