This is the David Smart RA8875 Library with mods for working with FRDM-K64F
Diff: RA8875.cpp
- Revision:
- 196:56820026701b
- Parent:
- 195:17e176dbd6eb
- Child:
- 197:853d08e2fb53
--- a/RA8875.cpp Tue Feb 11 18:33:44 2020 +0000 +++ b/RA8875.cpp Tue Feb 11 21:26:59 2020 +0000 @@ -1401,8 +1401,10 @@ { unsigned char mwcr0; - mwcr0 = ReadCommand(RA8875_MWCR0); - WriteCommand(RA8875_MWCR0, mwcr0 & ~0x80); // Graphics write mode + mwcr0 = ReadCommand(RA8875_MWCR0) & ~0x80; + mwcr0 |= 0x00; + INFO("mwcr0 %02X", mwcr0); + WriteCommand(RA8875_MWCR0, mwcr0); // Graphics write mode WriteCommand(RA8875_MRWC); // Prepare for streaming data return noerror; } @@ -1421,6 +1423,12 @@ } +void RA8875::puts(point_t pt, const char * string) +{ + SetTextCursor(pt); + puts(string); +} + void RA8875::puts(loc_t x, loc_t y, const char * string) { SetTextCursor(x,y);