ILI9340_Driver_Lib

Files at this revision

API Documentation at this revision

Comitter:
ackerden
Date:
Sun May 02 19:50:39 2021 +0000
Parent:
1:216d35e347b8
Commit message:
feuchtigkeitssensor hat aber noch ein fehler;

Changed in this revision

ILI9340_Driver.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ILI9340_Driver.cpp	Sun Jun 01 16:52:16 2014 +0000
+++ b/ILI9340_Driver.cpp	Sun May 02 19:50:39 2021 +0000
@@ -71,11 +71,11 @@
     
     // Toggle rst to reset
     rst = 1;
-    wait(0.005);
+    wait_ns(5);
     rst = 0;
-    wait(0.020);
+    wait_ns(20);
     rst = 1;
-    wait(0.150);
+    wait_ns(15);
     
     WriteCommand(0xEF);
     WriteData(0x03);
@@ -181,7 +181,7 @@
     WriteData(0x0F); 
 
     WriteCommand(ILI9340_SLPOUT);    //Exit Sleep 
-    wait(0.120);       
+    wait_ns(12);       
     WriteCommand(ILI9340_DISPON);    //Display on 
     
     }