#!/usr/bin/env python
#receive signal from infrared sensor

@@ -52,8 +52,173 @@
  sensor%0A
+#Sensor: HC-SR501%0A#VCC, Signal %3C--%3E GPIO Y12, GND%0Afrom pyb import Pin%0Amotion_detect = Pin('Y12',Pin.IN,Pin,PULL_UP)%0Aif(motion_detect.value() == 1):%0A  print('alarm')%0A

Update security.py