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: MARY_CAMERA NokiaLCD mbed
Diff: main.cpp
- Revision:
- 22:d5e24ab4afb7
- Parent:
- 21:a2ac746dd516
- Child:
- 23:8471197d3096
--- a/main.cpp Mon Mar 10 02:11:25 2014 +0000 +++ b/main.cpp Tue Mar 11 03:29:01 2014 +0000 @@ -35,7 +35,7 @@ short buf[ MARMEX_OB_oled::WIDTH ]; #if defined( TARGET_MBED_LPC1768 ) || defined( TARGET_LPC11U24_401 ) - save_still_image( "image.bmp" ); + //save_still_image( "image.bmp" ); #endif while ( 1 ) { @@ -81,8 +81,10 @@ oled1.locate( 0, 2 ); oled1.printf( "MaryCemara test" ); + oled1.locate( 0, 3 ); + oled1.printf( "%s", (MARY_CAMERA::NO_ERROR == camera.ready()) ? "Camera is ready" : "No Camera found" ); oled1.locate( 0, 4 ); - oled1.printf( "%s", (MARY_CAMERA::NO_ERROR == camera.ready()) ? "Camera is ready" : "No Camera found" ); + oled1.printf( "%s", "saving into BMP" ); for (int i = 0; i < MARMEX_OB_oled::WIDTH; i++ ) oled1.pixel( i, 80 + sin( (float)i / 5.0 ) * 10, 0x000000 );