Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: sed1335text.cpp
- Revision:
- 9:2fe93daa2106
- Parent:
- 8:ba176eea3e40
--- a/sed1335text.cpp Mon Jan 10 22:57:59 2011 +0000 +++ b/sed1335text.cpp Tue Feb 22 22:57:44 2011 +0000 @@ -38,6 +38,9 @@ int i=0; int pos=row*getColumns()+column; + + if (!_guard->take()) + return; sendCmd(0x46); // set cursor addr sendData(LOW(pos)); @@ -48,6 +51,7 @@ sendData(text[i]); i++; } + _guard->release(); } void SED1335TextLCD::clearBank(int start, int size, int data) {