
Module
Connect Type Available Connectors
PIR Module Digital IO
D12, D13, D14, D15
Block API
Check the PIR status
檢查開關是否被觸發。當
pir
模塊被觸發時,檢測到的狀態信號將處於高電平。
Check whether the switch is triggered or not.when the pir module is triggered the
status signal which was detected will be in high level.
function PIRIsTriggered(connName: ConnName): boolean;