Jenny Plunkett
/
CameraOV528-Example
Hello World example program for the OV528 Camera Module
Diff: main.cpp
- Revision:
- 4:327a3341b5f3
- Parent:
- 1:67a9d5cee87c
- Child:
- 6:9f5ecac1118f
--- 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. ");