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:
- 13:52f7b692e00d
- Parent:
- 9:68408189efde
- Child:
- 14:cc83bb625f92
--- a/main.cpp Mon Feb 17 23:44:53 2014 +0000 +++ b/main.cpp Tue Feb 18 10:49:14 2014 +0000 @@ -24,10 +24,10 @@ led = 0x1; camera.open_transfer(); - for ( int line = 0; line < 128; line++ ) { - camera.transfer_a_line( buf, line + Y_OFFSET, X_OFFSET, 128 ); + for ( int line = 0; line < MARMEX_OB_oled::HEIGHT; line++ ) { + camera.transfer_a_line( buf, line + Y_OFFSET, X_OFFSET, MARMEX_OB_oled::WIDTH ); line_mirroring( buf ); - oled1.blit565( 0, line, 128, 1, buf ); + oled1.blit565( 0, line, MARMEX_OB_oled::WIDTH, 1, buf ); } camera.close_transfer();