added support for String Object

This commit is contained in:
rjbatista@gmail.com
2011-10-19 23:57:43 +00:00
parent e3075c02e2
commit 320ef7d54d
3 changed files with 18 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ class TM1638
void clearDisplay();
/** Set the display to the string (defaults to built in font) */
void setDisplayToString(const char* string, const byte font[] = FONT_DEFAULT);
/** Set the display to the String (defaults to built in font) */
void setDisplayToString(String string, const byte font[] = FONT_DEFAULT);
/** Set the LED at pos to color (TM1638_COLOR_RED, TM1638_COLOR_GREEN or both) */
void setLED(byte color, byte pos);