Karkhana Makerspace
/
LCD
LCD Interfacing with FRDM KL25Z
Revision 0:a8a3de67b14b, committed 2019-06-28
- Comitter:
- mrbhatter
- Date:
- Fri Jun 28 05:46:19 2019 +0000
- Commit message:
- LCD Print;
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Fri Jun 28 05:46:19 2019 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#308d188a2d3a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 28 05:46:19 2019 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +#include "TextLCD.h" + +//FVP for lcd. rs,en,d4-d7, type of lcd +TextLCD lcd(PTA1, PTA2, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD16x2); //rs, e, d4-d7 + +int main() +{ + + while(1) { + lcd.printf("Hello"); + wait(1); + lcd.cls(); //clear lcd + + } +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jun 28 05:46:19 2019 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34 \ No newline at end of file