'''
PIR Sensor
OUT - Pin 35
'''
from machine import Pin
PIR = Pin(35,Pin.IN)
while True:
val = PIR.value()
if(val == 1):
print(f'High IR Radiation Detected.')
else:
print(f'IR Radiation not Detected.')'''
PIR Sensor
OUT - Pin 35
'''
from machine import Pin
PIR = Pin(35,Pin.IN)
while True:
val = PIR.value()
if(val == 1):
print(f'High IR Radiation Detected.')
else:
print(f'IR Radiation not Detected.')