Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SLCD_minus_mod by
Diff: SLCD.h
- Revision:
- 8:99e4215cfc11
- Parent:
- 7:0e084b33d730
- Child:
- 9:dae947a658f0
--- 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)