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.
Diff: main.h
- Revision:
- 2:bbd557817319
- Parent:
- 0:19429e334b75
- Child:
- 4:d0d4760d32b2
--- a/main.h Sun Mar 10 13:20:27 2013 +0000
+++ b/main.h Sat Mar 16 13:45:09 2013 +0000
@@ -16,10 +16,6 @@
//Camera
-#define SIZEX (160)
-#define SIZEY (120)
-#define SIZE (SIZEX*SIZEY)
-
OV7670 camera
(
p28,p27, // SDA,SCL(I2C / SCCB)
@@ -28,19 +24,16 @@
p26,p29,p30 // RRST,OE,RCLK
);
-unsigned char bank0 [SIZE];
-unsigned char *bank1 = (unsigned char *)(0x2007C000);
-
//RESET
extern "C" void mbed_reset();
//Serial
-char word[8];
+char word[25];
int t1 = 0;
int t2 = 0;
int t3 = 0;
//
void parse_cmd();
-void CameraSnap(char c);
+void CameraSnap();
void CameraGrab();