Update main.py

This commit is contained in:
Jordan-Fielding
2022-07-05 16:17:56 +10:00
parent 9f6b3198ef
commit 892e2fdc8b

View File

@@ -22,7 +22,7 @@ while True:
#Waits for Motion from PIR Sensor #Waits for Motion from PIR Sensor
pir.wait_for_motion() pir.wait_for_motion()
print("Bug detected") print("\nBug detected!")
#Turns on the LED Flash #Turns on the LED Flash
GPIO.output(22, 1) GPIO.output(22, 1)
@@ -47,6 +47,8 @@ while True:
#Used to turn off the LED #Used to turn off the LED
GPIO.output(22, 0) GPIO.output(22, 0)
print("\nBug Not Detected! - System Ready! ")