Conversions for the LCD display in FRDM-KL46Z

Dependents:   eem202a_display eem202a_resolutedreamer_1

Revision:
2:9467805cb02b
Parent:
1:cf83568dc17a
Child:
3:551fe797c723
--- a/convert.h	Sat Apr 19 17:42:24 2014 +0000
+++ b/convert.h	Sat Apr 19 22:07:19 2014 +0000
@@ -2,6 +2,12 @@
 
 #include "SLCD.h"
 
+/*-------------------------------------------------------------
+
+(c) W.D. 2014
+
+-------------------------------------------------------------*/
+
 /*  ------ sample usage------
 Convert slcd;
 
@@ -49,10 +55,10 @@
     Convert();
     bool display(unsigned int number);
     bool display(int number);
+    bool display(double number);
     bool display(float number);
-    bool display(double number);
-    bool display(char text[4]);
+    bool display(char *text);
 private:
-    bool display_digits(unsigned int number, bool negate=false);
+    void display_digits(unsigned int number, bool negate=false);
     void prepare(void);
 };