# Sensor settings
sensor.set_contrast(3)
sensor.set_gainceiling(16)
sensor.set_framesize(sensor.VGA)
sensor.set_windowing((320, 240))
sensor.set_pixformat(sensor.GRAYSCALE)
sensor.skip_frames(time = 2000)
sensor.set_auto_gain(False, value=100)这是例程中的一段,sensor.set_gainceiling(16),将增益的上限设置为16,sensor.set_auto_gain(False, value=100)这个100是增益指数,矛盾吗?
set_gainceiling设置的是上限。
set_auto_gain设置的是具体的值。
文档有的。
谢谢,16是什么单位,100的单位是dB,