added month and day

bp
alanbjohnston 5 years ago committed by GitHub
parent b20ddad144
commit d0d83fad51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,4 +7,5 @@ camera.resolution = (2592,1944)
camera.start_preview()
current_time = time.strftime("%H;%M;%S", time.localtime())
current_time = time.strftime("%e-%the d-%H:%M:%S", time.localtime())
camera.capture('/home/pi/payload/img'+current_time+'.jpg')

Loading…
Cancel
Save

Powered by TurnKey Linux.