Display
Dependents: Termocamera_ironblack
Diff: Inits/ILI9486.cpp
- Revision:
- 7:bb0383b91104
- Parent:
- 4:12ba0ecc2c1f
- Child:
- 9:1749ae993cfe
diff -r 8356d48a07db -r bb0383b91104 Inits/ILI9486.cpp --- a/Inits/ILI9486.cpp Mon Feb 16 01:18:29 2015 +0000 +++ b/Inits/ILI9486.cpp Tue Feb 17 11:02:06 2015 +0000 @@ -19,9 +19,8 @@ { hw_reset(); BusEnable(true); + identify(); // will collect tftID and set mipistd flag init(); - mipistd=false; - scrollbugfix=1; // when scrolling 1 line, the last line disappears, set to 1 to fix it set_orientation(0); cls(); locate(0,0); @@ -31,9 +30,8 @@ { hw_reset(); //TFT class forwards to Protocol class BusEnable(true); //TFT class forwards to Protocol class + identify(); // will collect tftID and set mipistd flag init(); // per display custom init cmd sequence, implemented here - mipistd=false; - scrollbugfix=1; // when scrolling 1 line, the last line disappears, set to 1 to fix it set_orientation(0); //TFT class does for MIPI standard and some ILIxxx cls(); locate(0,0);