La Suno / UniGraphic

Dependents:   afero_poc15_180216 afero_poc15_180223 afero_poc15_180302 afero_poc15_180403R ... more

Fork of UniGraphic by GraphicsDisplay

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Mon Dec 25 08:33:03 2017 +0000
Parent:
33:f87f06292637
Commit message:
watch dog resets were added in ILI9341

Changed in this revision

Inits/ILI9341.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f87f06292637 -r 1a148973febe Inits/ILI9341.cpp
--- a/Inits/ILI9341.cpp	Mon Feb 06 12:29:33 2017 +0000
+++ b/Inits/ILI9341.cpp	Mon Dec 25 08:33:03 2017 +0000
@@ -5,6 +5,7 @@
  
 #include "Protocols.h"
 #include "ILI9341.h"
+#include "edge_reset_mgr.h"
 
 //////////////////////////////////////////////////////////////////////////////////
 // display settings ///////////////////////////////////////////////////////
@@ -59,7 +60,7 @@
 void ILI9341::init()
 {
     /* Start Initial Sequence ----------------------------------------------------*/
-    
+reset_watch_dog() ;    
     wr_cmd8(0xCB);  // POWER_ON_SEQ_CONTROL             
      wr_data8(0x39);
      wr_data8(0x2C);
@@ -169,10 +170,10 @@
     wr_data8(0x55);     // 16 bit pixel 
 
     wr_cmd8(0x13); // Nomal Displaymode
-    
+reset_watch_dog() ;     
      wr_cmd8(0x11);                     // sleep out
      wait_ms(150);
-     
+reset_watch_dog() ;      
      wr_cmd8(0x29);                     // display on
      wait_ms(150);