Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

problems with fast drawing on color lcd

Hi,

since yesterday i have the V2 COLOR LCD 320x240 2.4" DSDM/SERIAL Display.
Really cool stuff, but i`m running in some problems while "fast" printing on the screen.
It`s simple testing at the moment, in a loop i write a counter, 6 temperatures and one pressure measurement on the screen. ATM data is simulated,
only want to check the speed of this display.

After each printing ->

    mydisp.setPrintPos(17, 4);
    mydisp.print(temp2); 
    delay(p);

-> a delay is needed, as i can see it has to be bigger than 47ms
if i use delay(48), i have no printing error:


 

 


if i use lower delay like delay(15), it will go crazy after some seconds:



I tried already I2C communication & UART@9600 and drilled the GND with TX cable.
No difference!
First seconds it is running fine, suddenly it becomes worse.

Maybe you can give me some hints what i can do to make it  "faster".
Or should i use an other color display?

Please help me.

Thx in advance!
 

RE:problems with fast drawing on color lcd

ah and display is connected with arduino UNO, finnally it should work with arduino nano :-)

RE:problems with fast drawing on color lcd

 In new version of firmware, the display text command MUST terminate by value 0, please redownload our lib to correct it.

Your problem is too much data send to display, can cause the buffer overflowed.

RE:problems with fast drawing on color lcd

Ah, thx for response, i have the latest lib (14.10.2015) and firmware is v3.1

how can i end the command, this way?   

mydisp.write('TT0');




 

RE:problems with fast drawing on color lcd

 If you are using Arduino, our lib already take care about the Text command, you don't need add 0 to terminate the command.

RE:problems with fast drawing on color lcd

ah ok   :-)

so it seems that a short delay of 48ms is needed, i`m not sure if it`s needed after each single mydisp.print().

p=48

void loop() {

    mydisp.setFont(51);
    mydisp.setColor(241);
    mydisp.setPrintPos(17, 3);
    mydisp.print(temp1);
    delay(p);
    mydisp.setPrintPos(17, 4);
    mydisp.print(temp2); 
    delay(p);
    mydisp.setPrintPos(17, 5);
    mydisp.print(temp3); 
    delay(p);
    mydisp.setPrintPos(17, 6);
    mydisp.print(temp4); 
    delay(p);
    mydisp.setPrintPos(17, 7);
    mydisp.print(temp5); 
    delay(p);
    mydisp.setPrintPos(17, 8);
    mydisp.print(temp6);
    delay(p);
    mydisp.setColor(250);
    mydisp.setPrintPos(17, 9);
    mydisp.print(druck1);   
    delay(p);
    mydisp.setPrintPos(1, 2);
    mydisp.print("                          ");
    mydisp.setPrintPos(13, 1);
    mydisp.setFont(18);
    mydisp.setColor(245);
    mydisp.print(counter);
    counter++;
    delay(p); 
    hochz();
    box1();
}

is there a command to clear the buffer?

do you have faster displays than >>2.4" Serial:UART/I2C/SPI IPS 320x240 Touchscreen Module+16M Flash Arduino PIC CN<< in your shop?
i need color and resolution around 200x200

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun