From 1be62dda2df373aa3bab00d4e2cb27bbab9c42ed Mon Sep 17 00:00:00 2001 From: peepo Date: Tue, 28 Jul 2015 11:16:19 +0100 Subject: [PATCH 1/2] to correct filename --- sw/sensor_config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/sensor_config/Makefile b/sw/sensor_config/Makefile index 0fbf3b3..fe6b19d 100644 --- a/sw/sensor_config/Makefile +++ b/sw/sensor_config/Makefile @@ -2,7 +2,7 @@ CC = gcc C_FLAGS = -O3 LD_FLAGS = -lc -ljpeg -llogi -all: grab +all: conf_mt9v034 clean: rm -f *.a *.o conf_mt9v034 From ff188efa98305dd0ac8e370b1fcd483bf23456e5 Mon Sep 17 00:00:00 2001 From: Jonathan Chetwynd Date: Wed, 19 Aug 2015 13:16:55 +0100 Subject: [PATCH 2/2] reflect image to normal orientation --- sw/sensor_config/conf_mt9v034_logi_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/sensor_config/conf_mt9v034_logi_i2c.c b/sw/sensor_config/conf_mt9v034_logi_i2c.c index a199bd5..92a79ad 100644 --- a/sw/sensor_config/conf_mt9v034_logi_i2c.c +++ b/sw/sensor_config/conf_mt9v034_logi_i2c.c @@ -100,7 +100,7 @@ int main(int argc, char ** argv){ i2c_set_register(0x03, 480); //window height i2c_set_register(0x01, 1); // col start i2c_set_register(0x02, 4); //row start - i2c_set_register(0x0D, (1 << 4)); + i2c_set_register(0x0D, ((1 << 4)|(1 << 5))); i2c_set_register(0x07, ((1 << 3)|(1 << 8)|(1 << 9)));//chip control, disable parallel output, other are default i2c_set_register(0x72, 0x0000); //sync ctrl //i2c_set_register(0x7F, ((1 << 13) | (1 << 10) | (1 << 5))); //test pattern