Due GUI (Graphical user interface) - [now community project]

When comparing the two configurations DUEGUI and UTFT, i noticed with an oscope, that the RS, WR, RD lines are not toggling. The DB lines are toggling.

I have a simple example that takes the touch input and draws to the screen. When I touch the screen I can see that data transfer to the smart display occur(except for RS,WR,RD). I am in the process is taking the UTFT init sequence and copying it into the DUEGUI. Hopefully, I can find the point of interest. Hopefully, I can figure it out.

-ediaz

Here is my example. I now have the UTFT init sequence in the DUEGUI constructor and InitLCD. Still not seeing the RD,WR lines toggle.

/** colors */
#define	BLACK   0x0000
#define	BLUE    0x001F
#define	RED     0xF800
#define	GREEN   0x07E0
#define CYAN    0x07FF
#define MAGENTA 0xF81F
#define YELLOW  0xFFE0
#define WHITE   0xFFFF

#include <ads7843.h>

//#include <UTFT.h>                                  //OPTION 1
//UTFT myGLCD(HX8352A,22,23,31,33);                  //OPTION 1

#include <DUEGUI.h>                                  //OPTION 2
DUEGUI myGLCD(HX8352A,22,23,31,33);                  //OPTION 2


/** elechouse TFT shield pin map */
#define DCLK     25
#define CS       26 
#define DIN      27 
#define DOUT     29
#define IRQ      30

/** global variable */
ADS7843 touch(CS, DCLK, DIN, DOUT, IRQ);

// Declare which fonts we will be using
extern uint8_t SmallFont[];

Point p;
uint16_t color[]={
  BLUE, RED, GREEN, CYAN, MAGENTA, YELLOW, WHITE
};


void setup(void)
{
  Serial.begin(115200);
  
  /** ADS7843 initial */
  touch.begin();
    
  myGLCD.InitLCD();
  myGLCD.clrScr();
  myGLCD.setColor (255, 255, 0);
  //myGLCD.setColor(0, 0, 255);
}

void loop(void)
{
  uint8_t flag;
  int lx, ly;
  
  /** get random number */   
  int pacy=random(0, 7);  

  p=touch.getpos(&flag) ;
  // myGLCD.setColor (random(255), random(255), random(255));
  while(flag){
   
    ly=(p.x- 0)/15.8;       // 240
    lx=(3800-p.y )/9.5;     // 400 
    
    myGLCD.fillRect(lx,ly,lx+2,ly+2);
    /** get next position */
    p=touch.getpos(&flag) ;
  }
  
}