Clase Microcontroladores

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Simon Ford

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 // Hello World! for the TextLCD
00002 
00003 #include "mbed.h"
00004 #include "TextLCD.h"
00005 
00006 TextLCD lcd(p15, p16, p24, p23, p22, p21); // rs, e, d4-d7
00007 
00008 int main() {
00009     lcd.printf("Hola mundo! ya\n");
00010 }