![](/media/cache/group/EI_IMaR_logo.PNG.50x50_q85.png)
forked
Fork of TextLCD_HelloWorld by
Revision 3:85f51f85f10f, committed 2018-04-12
- Comitter:
- kaushalpkk
- Date:
- Thu Apr 12 10:43:40 2018 +0000
- Parent:
- 2:ad0b044d0a10
- Commit message:
- test based on kl25z board
Changed in this revision
diff -r ad0b044d0a10 -r 85f51f85f10f TextLCD.lib --- a/TextLCD.lib Sat Dec 04 11:31:07 2010 +0000 +++ b/TextLCD.lib Thu Apr 12 10:43:40 2018 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/simon/code/TextLCD/#e4cb7ddee0d3 +https://os.mbed.com/teams/IMaR/code/TextLCD/#79ea819f4dc9
diff -r ad0b044d0a10 -r 85f51f85f10f main.cpp --- a/main.cpp Sat Dec 04 11:31:07 2010 +0000 +++ b/main.cpp Thu Apr 12 10:43:40 2018 +0000 @@ -2,9 +2,18 @@ #include "mbed.h" #include "TextLCD.h" - -TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7 +LCDType asdasd= LCD16x2B +TextLCD lcd(PTC9, PTC8, PTA5, PTA4, PTA12, PTD4, asdasd); // rs, e, d4-d7 int main() { + printf("Hello World!\n"); + lcd.cls(); lcd.printf("Hello World!\n"); + lcd.locate(0, 1); + lcd.printf("line 2\n"); + lcd.locate(0, 2); + lcd.printf("line 3\n"); + lcd.locate(0, 3); + lcd.printf("line 4\n"); + }
diff -r ad0b044d0a10 -r 85f51f85f10f mbed.bld --- a/mbed.bld Sat Dec 04 11:31:07 2010 +0000 +++ b/mbed.bld Thu Apr 12 10:43:40 2018 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e +https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e \ No newline at end of file