Programa que desplega un mensaje en una LCD 16x2 utilizando la librería TextLCD en un NUCLEO-F302R8
Fork of TextLCD by
Diff: LCD_1.cpp
- Revision:
- 9:17b9533c5cf3
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