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.
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;
};