LCD

Dependencies:   LCDLib mbed

Fork of KS0066U4_16x2 by Rune Langoy

main.cpp

Committer:
rlanghbv
Date:
2015-09-21
Revision:
2:47cd49e26bfc
Parent:
1:be0ba4cb6c5d
Child:
3:81d65a2a1920

File content as of revision 2:47cd49e26bfc:

 #include "mbed.h"
 #include "TextLCD.h"
 
 TextLCD lcd(D11,D10,D9,D5,D4,D3,D2);
 int main()
 {
    lcd.gotoxy(1,1);
    lcd.printf("First Line");
 
    lcd.gotoxy(4,2);
    lcd.printf("Second Line");
 
    while(1) {
        wait_ms(300);
    }
 }