//2번 디지털포트에 버튼 또는 동체감지 센서를 연결하세요. procedure setup end procedure loop d2 = DigitalRead(2) PrintLine(d2) Delay(100) end