Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: KS0066U4_16x2 LAB05_Oppgave4 LAB05_Oppgave2 LAB05_Oppgave3 ... more
Revision 17:5ffb16966db2, committed 2015-09-21
- Comitter:
- rlanghbv
- Date:
- Mon Sep 21 10:17:51 2015 +0000
- Parent:
- 16:ca413e232eaa
- Child:
- 18:68125c2172fd
- Commit message:
- LCD Init Fix
Changed in this revision
| TextLCD.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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