Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: sed1335text.cpp
- Revision:
- 8:ba176eea3e40
- Parent:
- 7:b472970bd8f6
- Child:
- 9:2fe93daa2106
--- a/sed1335text.cpp Tue Jan 04 22:58:59 2011 +0000
+++ b/sed1335text.cpp Mon Jan 10 22:57:59 2011 +0000
@@ -87,10 +87,15 @@
_a0=new DigitalOut(a0);
_cs=new DigitalOut(cs);
_reset=new DigitalOut(reset);
- wait_ms(10);
+ wait_ms(100);
}
void SED1335TextLCD::init() {
+ initInternal();
+ initInternal();
+}
+
+void SED1335TextLCD::initInternal() {
_reset->write(0);
wait_ms(2);
_reset->write(1);
