Applied engineering Team
/
VT4_novosel
V8_4
Revision 0:a5ad9b843e13, committed 2016-11-24
- Comitter:
- jnovosel
- Date:
- Thu Nov 24 18:01:32 2016 +0000
- Commit message:
- VT4_V8_4
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Thu Nov 24 18:01:32 2016 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/wim/code/TextLCD/#111ca62e8a59
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Nov 24 18:01:32 2016 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "TextLCD.h" +//TextLCD lcd(p19, p20, p21, p22, p23, p24); // rs, e, d0, d1, d2, d3 +TextLCD lcd(p19, p20, p21, p22, p23, p24,TextLCD::LCD8x2); +int x=0; +int main() +{ + lcd.printf("LCD Counter"); + while (1) { + lcd.locate(5,1); + lcd.printf("%i",x); + wait(1); + x++; + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Nov 24 18:01:32 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb \ No newline at end of file