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.
Diff: RA8875.cpp
- Revision:
- 127:db7f2c704693
- Parent:
- 125:7a0b70f56550
- Child:
- 131:5bd6ba2ee4a1
diff -r c91bd2e500b9 -r db7f2c704693 RA8875.cpp
--- 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)
{