Version 3: Trying to interleave capture and read
Dependencies: ov7670_lib Project_test
Diff: main.h
- Revision:
- 8:36adb37e976d
- Parent:
- 5:4135ec0f88e6
diff -r 9e4e66a8554e -r 36adb37e976d main.h --- a/main.h Mon Apr 06 11:23:49 2020 +0000 +++ b/main.h Sat Jun 20 11:07:07 2020 +0000 @@ -8,19 +8,19 @@ Timer t; bool new_send = false; -DigitalOut led1(LED1); -DigitalOut led2(LED2); -DigitalOut led3(LED3); -DigitalOut led4(LED4); +DigitalOut led1(LED1,1); +DigitalOut led2(LED2,1); +DigitalOut led3(LED3,1); +DigitalOut led4(LED4,1); //Camera OV7670 camera ( PTE25,PTE24, // SDA,SCL(I2C / SCCB) - PTA1,PTC16,PTD2, // VSYNC,HREF,WEN(FIFO) - PTB23,PTA2,PTC2,PTC3,PTB11,PTB10,PTB3,PTB2, // Ds p18(P0.26),p17(P0.25),p16(P0.24),p15(P0.23),p11(P0.18),p12(P0.17),p14(P0.16),p13(P0.15) - PTB9,PTC4,PTC17 // RRST,OE,RCLK + PTA1,PTD3,PTB11, // VSYNC,HREF,WEN(FIFO) + PortC, 0x0F0F, // Ds + PTD2,PTC4,PTD1 // RRST,OE,RCLK ); //RESET