mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
5 lines
128 B
Python
5 lines
128 B
Python
import sensor, time
|
|
sensor.set_framesize(sensor.QCIF)
|
|
sensor.set_pixformat(sensor.RGB565)
|
|
sensor.snapshot().save("1:/test.ppm")
|