Fork of Edoardo De Marchi's ov7670 library. Works very similar, only few modification were made to support other boards.
Dependents: OV7670 application over USB with KL25Z
Fork of ov7670 by
Revision 6:2e57ba7138b9, committed 2016-01-17
- Comitter:
- wrecky
- Date:
- Sun Jan 17 21:31:18 2016 +0000
- Parent:
- 5:74c3b911894a
- Commit message:
- Correction of header file functions
Changed in this revision
ov7670.cpp | Show annotated file Show diff for this revision Revisions of this file |
ov7670.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 74c3b911894a -r 2e57ba7138b9 ov7670.cpp --- a/ov7670.cpp Sun Jan 17 21:02:31 2016 +0000 +++ b/ov7670.cpp Sun Jan 17 21:31:18 2016 +0000 @@ -97,7 +97,7 @@ void OV7670::ReadStop(void) { oe = 1; - ReadOnebyte(); + ReadOnebyte(0x00,0,0x00,0); //dummy rclk = 1; }
diff -r 74c3b911894a -r 2e57ba7138b9 ov7670.h --- a/ov7670.h Sun Jan 17 21:02:31 2016 +0000 +++ b/ov7670.h Sun Jan 17 21:31:18 2016 +0000 @@ -44,7 +44,7 @@ int Init(char *format, int n); // init reg void VsyncHandler(void); // New vsync handler void HrefHandler(void); // href handler - int ReadOnebyte(void); // Data Read + int ReadOnebyte(int mask1, int offset1, int mask2, int offset2); // Data Read void ReadStart(void); // Data Start void ReadStop(void); // Data Stop