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.
Dependencies: ov7670_lib Project_test
Diff: main.cpp
- Revision:
- 6:c7450b320c30
- Parent:
- 5:4135ec0f88e6
- Child:
- 7:9e4e66a8554e
diff -r 4135ec0f88e6 -r c7450b320c30 main.cpp
--- a/main.cpp Mon Apr 06 10:09:18 2020 +0000
+++ b/main.cpp Mon Apr 06 10:26:11 2020 +0000
@@ -23,8 +23,8 @@
int pixel2[QQVGA];
camera.Init('y', QQVGA);
pc.printf("Camera initiated");
- //camera.CaptureNext();
- //while(camera.CaptureDone() == false);
+ camera.CaptureNext();
+ while(camera.CaptureDone() == false);
camera.ReadStart();
t1 = t.read_ms();
t.start();
@@ -34,7 +34,7 @@
//fprintf(fp,"%i", pixel[x]);
//pixel2[x]=camera.ReadOnebyte();
//fprintf(fp,"%i/n", pixel2[x]);
- pc.putc(camera.ReadOnebyte());
+ printf("%d ", camera.ReadOnebyte());
}
camera.ReadStop();