在他範例中,我使用以下的code 實在不知到他到底是要做什
Main:
DO
DEBUG HOME, BIN1 IN0 ' Display Status Of P0 At Home Pos.
PAUSE 100 ' Small Delay
LOOP
不就是把PIR 所接收到的資料丟入IN0暫存? 是這樣嗎?!
因為我換了PIN腳他的結果不會像預期一樣,感覺就像無作用...
我在想是不是PIR壞了...如果我要做簡單的檢測 請問要如何量測呢?
-------------------------------------------------------------------------
在他文件中有 Jumper Setting
H-Output remains HIGH when sensor is retriggered repeatedly. Output is
LOW when idle (not triggered).
L-Output goes HIGH then LOW when triggered. Continuous motion
results in repeated HIGH/LOW pulses. Output is LOW when idle.