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.
main.cpp
00001 #include "mbed.h" 00002 #include "lcd.h" 00003 #include "bitmap.h" 00004 00005 LocalFileSystem local("local"); 00006 00007 int main() { 00008 gfxLcd *glcd = new gfxLcd(); 00009 00010 bitmapImage *bitmap = new bitmapImage("/local/file.bmp"); 00011 00012 // Nice scroller 00013 while(1) 00014 { 00015 for(uint32_t i=160; i+bitmap->fileInfo.cols > 0; i--) 00016 { 00017 bitmap->drawImage(glcd, i, 0); 00018 glcd->update(); 00019 } 00020 } 00021 00022 delete bitmap; 00023 }
Generated on Tue Jul 12 2022 14:13:32 by
1.7.2