OV7670 Library
Dependents: OV7670_Test_Code OV7670_Test_Code_with_ethernet Practica4_Camara
You can find the original files here: http://mbed.org/users/mio/notebook/ov7670_with_al422b_qqvga_test/
Diff: ov7670.h
- Revision:
- 4:119b4c04a4ed
- Parent:
- 1:d82dbad9c06b
diff -r b40a945dd672 -r 119b4c04a4ed ov7670.h
--- a/ov7670.h Sat Feb 15 15:00:37 2014 +0000
+++ b/ov7670.h Sat Apr 05 14:01:37 2014 +0000
@@ -40,8 +40,9 @@
void WriteReg(int addr,int data); // write to camera
int ReadReg(int addr); // read from camera
void Reset(void); // reset reg camera
- int Init(char c, int n); // init reg
- void VsyncHandler(void); // vsync handler
+ int Init(char c, int n); // Old init reg
+ int Init(char *format, int n); // init reg
+ void VsyncHandler(void); // New vsync handler
void HrefHandler(void); // href handler
int ReadOnebyte(void); // Data Read
void ReadStart(void); // Data Start
@@ -60,4 +61,5 @@
volatile bool CaptureReq;
volatile bool Busy;
volatile bool Done;
+ char *format_temp;
};
OV7670 Camera