Taking pictures with the OV7670 at 17fps.
Dependencies: ov7670_lib Project_test
main.h
- Committer:
- sebbarpar
- Date:
- 2020-08-31
- Revision:
- 9:1c438bd7697d
- Parent:
- 8:36adb37e976d
File content as of revision 9:1c438bd7697d:
#pragma once #include "mbed.h" #include "ov7670.h" Serial pc(USBTX,USBRX); Timer t; bool new_send = false; 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,PTD3,PTB11, // VSYNC,HREF,WEN(FIFO) PortC, 0x0F0F, // Ds PTD2,PTC4,PTD1 // RRST,OE,RCLK ); //RESET extern "C" void mbed_reset();