Arman Safikhani / ILI9225_SPI_TFT

Dependents:   ILI9225_TFT_Sample

Files at this revision

API Documentation at this revision

Comitter:
Arman92
Date:
Tue Sep 01 12:16:09 2015 +0000
Parent:
1:73bf39f23246
Commit message:
fixed non-hardware SPI issue

Changed in this revision

TFT_22_ILI9225.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 73bf39f23246 -r cc93245bb6d0 TFT_22_ILI9225.cpp
--- 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) 
 {
 }