C
cczzhh
i write the code to access serial port follows:
FileStream fs=new FileStream
("COM1:",FileMode.Create);//its OK
fs.Write(...);//its OK
fs.Read(...);//throw IOException
who can help me,thanks very much.
FileStream fs=new FileStream
("COM1:",FileMode.Create);//its OK
fs.Write(...);//its OK
fs.Read(...);//throw IOException
who can help me,thanks very much.