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:0cf1d73978a5, committed 2013-12-12
- Comitter:
- bant62
- Date:
- Thu Dec 12 01:44:00 2013 +0000
- Commit message:
- first commit
Changed in this revision
diff -r 000000000000 -r 0cf1d73978a5 MyLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MyLCD.lib Thu Dec 12 01:44:00 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/bant62/code/MyLCD/#794acd9a0b9c
diff -r 000000000000 -r 0cf1d73978a5 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Dec 12 01:44:00 2013 +0000 @@ -0,0 +1,26 @@ +#include "mbed.h" +#include "MyLCD.h" + +I2C i2c(dp5,dp27); // sda, scl <== LPC1114FN28 +MyLCD lcd(&i2c); +DigitalOut led1(LED1); +DigitalOut led2(LED2); + +int main() { + int i; + + wait(1); + lcd.clear(); + + i = 0; + led1 = 1; + led2 = 0; + while(1) { + led1 = !led1; + led2 = !led2; + lcd.home(); + // 1234567890123456 + lcd.printf("Welcome mbed!\ncount (%d)\n",i++); + wait(1); + } +}
diff -r 000000000000 -r 0cf1d73978a5 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Dec 12 01:44:00 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file