Finished HDC1000 chip program
This commit is contained in:
11
testprograms/camera/preview
Executable file
11
testprograms/camera/preview
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
from picamera import PiCamera
|
||||
from time import sleep
|
||||
|
||||
camera = PiCamera()
|
||||
|
||||
camera.start_preview()
|
||||
sleep(10)
|
||||
camera.stop_preview()
|
||||
|
||||
Reference in New Issue
Block a user