Forked to make it possible to include this lib in a multi target setting

Fork of SLCD by Erik -

Revision:
8:99e4215cfc11
Parent:
7:0e084b33d730
Child:
9:dae947a658f0
diff -r 0e084b33d730 -r 99e4215cfc11 SLCD.h
--- a/SLCD.h	Fri Mar 14 15:22:09 2014 +0000
+++ b/SLCD.h	Fri Mar 14 15:31:39 2014 +0000
@@ -10,11 +10,14 @@
 
     main()
     {
-        slcd.printf("1234");    // standard printf function, only charaters in ASCII_TO_WF_CODIFICATION_TABLE will display
-        slcd.putc("A");         // prints a single character
-        slcd.Write_Char('A');   // prints a single character
+        slcd.printf("1.2.3.4"); // standard printf function, only charaters in ASCII_TO_WF_CODIFICATION_TABLE will display
+                                // Dots printed using decimal points
+        slcd.putc('A');         // prints a single character
+        slcd.clear();           // All segments off
         slcd.All_Segments(y);   // y=1 for ALL segments on, 0 for ALL segments off
-        slcd.DPx(y);            // x=DP1 to DP3, y=1 for on 0 for off
+        slcd.DP(x, true/false); // Set/Clear decimal point. x=0, 1 or 2.
+                                // Does nothing if invalid decimal point
+        slcd.DPx(y);            // x=DP1 to DP3, y=1 for on 0 for off (legacy)
         slcd.Colon(y);          // y=1 for on, 0 for off
         slcd.CharPosition=x;    // x=0 to 3, 0 is start position
         slcd.Home();            // sets next charater to posistion 0 (start)