---
# System prepended metadata

title: 作業

---

# 作業

1. 紅外線搖控馬達-利用紅外線遙控馬達正轉、反轉、暫停
(作業說明從直播影片第二段約10:04秒開始)
【晚些參考這個網址進行實作】
https://blog.jmaker.com.tw/l9110s/


2. 為什麼使用digitalRead得到的值會是0-1023之間
(數位訊號&類比訊號講解從直播影片第一段約2:30開始)
Only three digits are needed, because each digit itself can have ten different 'levels (0-9). A computer only works with yes/no, on/off, 1/0, so only two levels per digit. It therefore needs more digits to write "255", actually eight (11111111). There are ten digits needed to write "1023".
https://forum.arduino.cc/t/why-analogread-return-from-0-1023-and-analog-write-0-255/396545