Update main.py

This commit is contained in:
Jordan-Fielding
2022-07-05 16:14:06 +10:00
parent e83d2101dc
commit 9f6b3198ef

View File

@@ -28,9 +28,9 @@ while True:
GPIO.output(22, 1)
#Sets Img path and filename, Saves to Working directory of Script
print("File will be Saved in: " + cwd + "/Pictures")
print("\nFile will be Saved in: " + cwd + "/Pictures")
file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg"
print("File Name is: " + file_name)
print("\nFile Name is: " + file_name)
#Used to wait for 0.1 Seconds for Camera to be ready
@@ -48,8 +48,6 @@ while True:
#Used to turn off the LED
GPIO.output(22, 0)
print("Bug Not Detected")