Conversions for the LCD display in FRDM-KL46Z

Dependents:   eem202a_display eem202a_resolutedreamer_1

Revision:
1:cf83568dc17a
Parent:
0:ca69bce3284f
Child:
2:9467805cb02b
--- a/convert.h	Sat Apr 19 08:20:12 2014 +0000
+++ b/convert.h	Sat Apr 19 17:42:24 2014 +0000
@@ -3,6 +3,8 @@
 #include "SLCD.h"
 
 /*  ------ sample usage------
+Convert slcd;
+
     while (true) 
     {
         wait(1.);
@@ -41,14 +43,15 @@
     }
 */
 
-class convert : public SLCD
+class Convert : public SLCD
 {
 public: 
-    convert();
+    Convert();
     bool display(unsigned int number);
     bool display(int number);
     bool display(float number);
     bool display(double number);
+    bool display(char text[4]);
 private:
     bool display_digits(unsigned int number, bool negate=false);
     void prepare(void);