Driver Library with inverted screen and increased SPI speed (16MHz). You need to use this library with the sx1280

Dependents:   MSNV2-Terminal_V1-6 SX1280DevKit SX126xDevKit SX126xDevKit ... more

Fork of DmTftLibrary by Display Module

Revision:
15:a9fb1a45f029
Parent:
14:2db7065edbec
Child:
17:0e2203ae4cec
--- a/DmTftIli9341.cpp	Mon Oct 12 08:35:35 2015 +0000
+++ b/DmTftIli9341.cpp	Thu Oct 13 14:39:41 2016 +0000
@@ -99,7 +99,7 @@
   sbi(_pinCS, _bitmaskCS);
   
   spi.format(8,0);
-  spi.frequency(8000000); // Max SPI speed for display is 10 and for 17 for LPC15xx  
+  spi.frequency(16000000); // Max SPI speed for display is 10 and for 17 for LPC15xx  
 #endif
   cbi(_pinCS, _bitmaskCS);
   delay(135); // This much delay needed??
@@ -152,7 +152,11 @@
   send8BitData(0xAA); //0xB0
 
   sendCommand(0x36);    // Memory Access Control
+#if 1  // DISPLAY_INVERT
+  send8BitData(0xC8);
+#else
   send8BitData(0x08);
+#endif
 
   sendCommand(0x3A);
   send8BitData(0x55);