a modified version of N5110 library to be used with freescale boards
Diff: N5110.cpp
- Revision:
- 2:e93021cfb0a9
- Parent:
- 1:df68f34cd32d
- Child:
- 3:f90dd1042d17
--- a/N5110.cpp Sun Jan 26 19:30:09 2014 +0000 +++ b/N5110.cpp Sun Jan 26 20:06:58 2014 +0000 @@ -1,6 +1,7 @@ #include "mbed.h" #include "N5110.h" + N5110::N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin) { @@ -15,6 +16,7 @@ } + void N5110::init() { turnOn(); // power up