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