I simplified the library "ILI9225_TFT" provided by Arman Safikhani to better suit my needs in implementing a simple sliding puzzle game.
Diff: TFT_22_ILI9225.cpp
- Revision:
- 2:cc93245bb6d0
- Parent:
- 1:73bf39f23246
--- a/TFT_22_ILI9225.cpp Tue Sep 01 12:14:24 2015 +0000 +++ b/TFT_22_ILI9225.cpp Tue Sep 01 12:16:09 2015 +0000 @@ -27,7 +27,7 @@ TFT_22_ILI9225::TFT_22_ILI9225(PinName rst, PinName rs, PinName cs, PinName sdi, PinName clk, PinName led) : _rst(rst), _rs(rs), _cs(cs), _sdi(sdi), _clk(clk), spi(sdi, NC, clk), _led(led), _rstInOut(_rst), _rsInOut(_rs), _csInOut(_cs), _ledInOut(_led), - hwSPI(true) + hwSPI(true) { }