float voltage = 5.0*analogRead(A0)/1023;. Serial.println(voltage,2); delay(0.1);. Serial.flush();. } 如下圖。亦可直接開啟普通物理實驗室編寫好的程式.
確定! 回上一頁