Digole
©DIGITAL
SOLUTIONS

Serial Display emulator    New Display User manual

Forum login or
Login:
Password:
  
Forum Catagory
Digole Serial Display (210)
  12864 LCD/OLED module (22)
  24064 LCD module (3)
  Color LCD Modules (27)
  Color OLED module (20)
  Online Emulater (5)
  Universal GLCD module (1)
  Universal Text LCD module (2)
Mini Display Panels (0)
  Mini LCDs (0)
  Mini OLEDs (0)
Pattern Drive Module (0)
~Buy & Sell on Digole (2)
~Others~ (5)
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

800x480 display: Screen_Over_511

In the manual I read: '#define _Screen_Over_511_  if using Arduino Library.'
I'm using the Arduino library <DigoleSerial.h>.

What is it for? I mean, I made a very basic sketch just to test fonts and geometries: without that define everything is correct, but when I add the define the display shows a mess; even the screen rotation does not do its work anymore.
So, should it be avoided?
---------------------------------

Other question: about the text positioning:
both the 'Move current position(TPxy)' and 'Enhanced move current position(ETPxy)' reports the Arduino function: setPrintPos(x,y,0);

Since the same command can not do two different actions, I believe that the '0' inside the function call will enabel/disable the per pixel postion (0 or 1),, but which one of the two? (unfortunately I can not test them right now due to a PC problem).

 

RE:800x480 display: Screen_Over_511

Please use the online HTML user manual:https://www.digole.com/m/. Digole will not mantain the .pdf manual after v7.x.

setPrintPos(x,y,0); 0--as character, 1--as pixel

here is the source of code in Arduino lib:

void DigoleSerialDisp::setPrintPos(unsigned int x, unsigned int y, uint8_t graph) {

    if (graph == 0) {
        writeStr("TP");
        write2B(x);
        write2B(y);
    } else {
        writeStr("GP");  //same with "ETP"
        write2B(x);
        write2B(y);
    }
}
 
Copyright Digole Digital Solutions/Digole Technologies Inc., 2008-2024. All rights reserved.
Powered by Digole