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.
Revision 0:65fb200517b9, committed 2009-11-22
- Comitter:
- simon
- Date:
- Sun Nov 22 20:55:57 2009 +0000
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Nov 22 20:55:57 2009 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "MobileLCD.h" + +MobileLCD lcd(p5, p6, p7, p8, p9); + +int main() { + lcd.background(0x0000FF); + lcd.cls(); + lcd.fill(2, 51, 128, 10, 0x00FF00); + lcd.fill(50, 1, 10, 128, 0xFF0000); + lcd.locate(0,3); + lcd.printf("Hello World!"); + for(int i=0; i<130; i++) { + lcd.pixel(i, 80 + sin((float)i / 5.0)*10, 0x000000); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Nov 22 20:55:57 2009 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/32af5db564d4