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:
- 11:149993faf2be
- Parent:
- 10:3c8fc9569377
- Child:
- 12:6ddd07d59c55
diff -r 3c8fc9569377 -r 149993faf2be main.cpp --- a/main.cpp Tue Feb 18 05:03:58 2014 +0000 +++ b/main.cpp Tue Feb 18 06:50:13 2014 +0000 @@ -20,7 +20,11 @@ short buf[ MARMEX_OB_oled::WIDTH ]; - save_still_image( "image.bmp" ); + char s[ 80 ]; + for ( int i = 0; i < 10; i++ ) { + sprintf( s, "image%02d.bmp", i ); + save_still_image( s ); + } while ( 1 ) { @@ -68,6 +72,6 @@ } camera.close_transfer(); - + close_BMP(); } \ No newline at end of file