num=Serial.read(); //讀取字元資料. Serial.print("I received : "); //輸出I received :字串. Serial.println(num,DEC); //輸出所讀取到的字元數值. }.
確定! 回上一頁