Search found 1 match

by camera
Tue Sep 24, 2019 1:21 am
Forum: ESP-WHO 中文讨论版
Topic: esp-who ov2640驱动中曝光值的设置问题
Replies: 1
Views: 6978

esp-who ov2640驱动中曝光值的设置问题

static int set_aec_value(sensor_t *sensor, int value) { if(value < 0) { value = 0; } else if(value > 1200) { value = 1200; } sensor->status.aec_value = value; return set_reg_bits(sensor, BANK_SENSOR, REG04, 0, 3, value & 0x3) || write_reg(sensor, BANK_SENSOR, AEC, (value >> 2) & 0xFF) || set_reg_bi...

Go to advanced search