i have a raspberry pi 3 (os:rasbian) and i want to run this code for exp at 13:00 when i leave the at home 12:00 but i want program will start 1 hour later. how can i modify the program. thanks
import time
import picamera
with picamera.PiCamera() as camera:
camera.start_preview()
try:
for i, filename in enumerate(camera.capture_continuous('/home/pi/Google Drive/{timestamp:%H-%M-%S}-{counter:03d}.jpg')):
print(filename)
time.sleep(3)
if i == 3:
break
finally:
camera.stop_preview()