test
Fork of ov7670 by
Diff: ov7670.h
- Revision:
- 4:119b4c04a4ed
- Parent:
- 1:d82dbad9c06b
--- 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; };