KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
127:db7f2c704693
Parent:
125:7a0b70f56550
Child:
131:5bd6ba2ee4a1
--- a/RA8875.cpp	Sat Aug 06 15:09:34 2016 +0000
+++ b/RA8875.cpp	Sat Aug 06 20:04:23 2016 +0000
@@ -887,6 +887,16 @@
     }
 }
 
+RetCode_t RA8875::GetTextFontSize(RA8875::HorizontalScale * hScale, RA8875::VerticalScale * vScale)
+{
+    unsigned char reg = ReadCommand(0x22);
+
+    if (hScale)
+        *hScale = 1 + (reg >> 2) & 0x03;
+    if (vScale)
+        *vScale = 1 + reg & 0x03;
+    return noerror;
+}
 
 int RA8875::_putc(int c)
 {