PiCapture capture card stops functioning Reply To: capture card stops functioning

#23091
w.tukis
Participant

I quickly grabbed this code online, listed below. You are suggesting I use this instead?

from time import sleep
from picamera import PiCamera

camera = PiCamera()
camera.resolution = (1024, 768)
camera.start_preview()
# Camera warm-up time
sleep(2)
camera.capture('foo.jpg')
w.tukisReply To: capture card stops functioning