Library for Sure Electronics HT1632 based LED matrix displays. Supports multiple displays connected together.

Dependents:   HT1632MsgScroller SMS_LEDMatrixPrinter

Revision:
13:9a869360d0ae
Parent:
12:e621d8c89cc3
Child:
14:b051965066db
--- a/HT1632_LedMatrix.cpp	Wed Mar 20 23:11:10 2013 +0000
+++ b/HT1632_LedMatrix.cpp	Mon Apr 08 20:54:20 2013 +0000
@@ -408,6 +408,27 @@
     return colsLeft;
 }
 
+int  HT1632_LedMatrix::_putc(int c) {
+  if (c == '\n') {
+    cursorY += 8;
+    cursorX = 0;
+  } else if (c == '\r') {
+    // skip em
+  } else {
+    putChar(cursorX, cursorY, c);
+    cursorX += 6;
+//  if (wrap && (cursorX > (_width - 6))) {
+//    cursorY += 8;
+//    cursorX = 0;
+//  }
+  }
+
+  return c;
+}
+int HT1632_LedMatrix::_getc() {
+    return -1;
+}
+
 // Set position of cursor for writing
 void HT1632_LedMatrix::gotoXY(int x, int y)
 {