Experimento LCD

Dependencies:   TextLCD mbed

main.cpp

Committer:
szapataa
Date:
2015-10-06
Revision:
0:52cafd82a3bf

File content as of revision 0:52cafd82a3bf:

// Hello World! for the TextLCD

#include "mbed.h"
#include "TextLCD.h"

TextLCD lcd(PTB10, PTB11, PTE2, PTE3, PTE4, PTE5); // rs, e, d4-d7

int main()

        {
        lcd.printf("Hello World! \n Welcome");
        wait(5);
        writeCommand(0x01);
        lcd.printf("Tiamo");
        }