Arduino. 下方的程式定義了讀取Serial端的function,當Serial端收到了下列字串,便會執行相對應的動作:a: 開燈, b: 關燈, c: 抽水, d: 停止抽水.
確定! 回上一頁