Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.h
- Committer:
- sebbarpar
- Date:
- 2020-04-06
- Revision:
- 5:4135ec0f88e6
- Parent:
- 4:d0d4760d32b2
File content as of revision 5:4135ec0f88e6:
#pragma once #include "mbed.h" #include "ov7670.h" Serial pc(USBTX,USBRX); Timer t; bool new_send = false; DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); DigitalOut led4(LED4); //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 ); //RESET extern "C" void mbed_reset(); //Serial char word[25]; int t1 = 0; int t2 = 0; int t3 = 0; // void parse_cmd(); void CameraSnap(); void CameraGrab();