LCD display

Dependents:   LAB05_Oppgave4

Fork of LCDLib by Rune Langoy

Revision:
17:5ffb16966db2
Parent:
16:ca413e232eaa
Child:
20:5ab883d81a20
--- a/TextLCD.cpp	Mon Sep 21 09:25:53 2015 +0000
+++ b/TextLCD.cpp	Mon Sep 21 10:17:51 2015 +0000
@@ -30,13 +30,12 @@
     lcdComand(0x28);//(0b0010 1000);   // 4- bit mode   LCD 2 line 16x2 Matrix
     wait_us(100);
 
-    lcdComand(0xE);//(0b0000 1110);
-    wait_us(100);
     lcdComand(0x01); //(0b00000001);
     wait_us(100);
     lcdComand(0x06);//(0b00000110);
     wait_us(100);
-    gotoxy(1,1);
+    lcdComand(0xC);//(0b0000 1100);
+    wait_us(100);
 }
 
 // Causes the LCD-module to read the data on the data input pins