Programa que desplega un mensaje en una LCD 16x2 utilizando la librería TextLCD en un NUCLEO-F302R8
Fork of TextLCD by
Revision 9:17b9533c5cf3, committed 2018-04-17
- Comitter:
- SamuelHernandez
- Date:
- Tue Apr 17 19:23:05 2018 +0000
- Parent:
- 8:308d188a2d3a
- Commit message:
- Programa de mensaje en LCD
Changed in this revision
LCD_1.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 |
diff -r 308d188a2d3a -r 17b9533c5cf3 LCD_1.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_1.cpp Tue Apr 17 19:23:05 2018 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(PA_0, PA_1, PA_4, PB_0, PC_1, PC_0); // rs, e, d4-d7 + +int main() { + lcd.printf("Hello World!\n"); +} \ No newline at end of file
diff -r 308d188a2d3a -r 17b9533c5cf3 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Apr 17 19:23:05 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/994bdf8177cb \ No newline at end of file