Hello World example program for the OV528 Camera Module
Revision 4:327a3341b5f3, committed 2017-07-07
- Comitter:
- jplunkett
- Date:
- Fri Jul 07 20:43:28 2017 +0000
- Parent:
- 3:520f682abfab
- Child:
- 5:a6006b22213a
- Commit message:
- Bug fixes
Changed in this revision
| CameraOV528.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CameraOV528.lib Fri Jul 07 20:27:11 2017 +0000 +++ b/CameraOV528.lib Fri Jul 07 20:43:28 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/jplunkett/code/CameraOV528/#3f9d7ef7266c +https://github.com/sarahmarshy/CameraOV528/#f1dcfd1dd82dafc31138ca513a589eaaf507aecf
--- a/main.cpp Fri Jul 07 20:27:11 2017 +0000
+++ b/main.cpp Fri Jul 07 20:43:28 2017 +0000
@@ -1,17 +1,17 @@
+#include "mbed.h"
#include "CameraOV528.h"
-#include "mbed.h"
#include "FATFileSystem.h"
#include "SDBlockDevice.h"
#include <stdio.h>
-CameraOV528 camera(D1, D0);// DX, RX
+CameraOV528 camera(D1, D0); // DX, RX
SDBlockDevice bd(PTE3, PTE1, PTE2, PTE4); // MOSI, MISO, SCLK, CS
FATFileSystem fs("fs");
DigitalOut led(LED_GREEN);
DigitalIn btn(SW2);
int picture_count;
-int format_fs(){
+int format_fs() {
int error = 0;
printf("Welcome to the filesystem example.\r\n"
"Formatting a FAT, RAM-backed filesystem. ");
Jenny Plunkett


Camera OV528