a modified version of N5110 library to be used with freescale boards
Fork of N5110 by
Diff: N5110.cpp
- Revision:
- 8:2993b19ba7dd
- Parent:
- 7:77bd2c73fe41
--- a/N5110.cpp Thu May 22 21:50:41 2014 +0200 +++ b/N5110.cpp Thu May 14 17:10:24 2015 +0000 @@ -7,7 +7,7 @@ #include "mbed.h" #include "N5110.h" - +#define M_PI 3.14 N5110::N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin) { @@ -317,6 +317,13 @@ sendData(0); // send an empty byte to introduce space between characters } +void N5110::printChar(char c, int x, int y) +{ + setXYAddress(x,y); + printChar(c); + +} + // function to print 6x7 negative font void N5110::printNegChar(char c)