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:
- 1:73bf39f23246
- Parent:
- 0:e97881aef140
- Child:
- 2:cc93245bb6d0
diff -r e97881aef140 -r 73bf39f23246 TFT_22_ILI9225.cpp --- a/TFT_22_ILI9225.cpp Mon Aug 31 05:05:09 2015 +0000 +++ b/TFT_22_ILI9225.cpp Tue Sep 01 12:14:24 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(false) + hwSPI(true) { }