MARMEX_VB test application program. This application works on "mbed NXP LPC1768" only. This application expects to have the MARMEX_VB module on a "MAPLE mini type-B (MARM03-BASE)" baseboard (slot2) with MARMEX_OB module (on slot1)

Dependencies:   MARMEX_VB NokiaLCD mbed

This is the library test program.
The program can test features of the library (refer to MARMEX-VB's API document) and can save captured data into BMP file.

Warning!

This test program can run on "mbed NXP LPC1768" only.

/media/uploads/nxpfan/dsc_0506_-1-.jpg
Picture : sample of test program operation
The modules of MARMEX-VB and MARMEX-OB are set on the "MAPLE mini type-B (MARM03-BASE)" baseboard.
The image data from camera is mirrored and alpha graphics added by software.

Revision:
0:343c01965543
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bmp_handler.h	Fri Jun 06 03:37:02 2014 +0000
@@ -0,0 +1,22 @@
+
+
+#ifndef MBED_BMP_HANDLING__
+#define MBED_BMP_HANDLING__
+
+typedef struct  alpha_param_st    {
+    int     h;
+    int     v;
+    int     byte_per_pixel;
+    char    *buffer;
+}
+alpha_param;
+
+int     open_BMP( char *file_name, int horizontal_size, int vertical_size );
+void    write_BMP( short *p, int length );
+void    write_BMP( short *p, int length, char mask );
+void    close_BMP( void );
+
+char *read_alpha_BMP( char *file_name, alpha_param *azp );
+
+#endif
+