You should check the return value of fgets() , I guess it would be NULL because you opened the com port only for writing.
確定! 回上一頁