Announcement

Collapse
No announcement yet.

Change splash screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • corrado
    replied
    My silly mistake!

    Thanks!

    Leave a comment:


  • Joseph Herrera
    replied
    Hi corrado,

    Try adding a " var handl; " line to your code.

    Code:
    putstr("Mounting...\n");
    if (!(file_Mount()))
    while(!(file_Mount()))
    putstr("Drive not mounted...");
    pause(200);
    gfx_Cls();
    pause(200);
    wend
    endif
    
    var hndl;   // like this one..
    
    hndl := file_LoadImageControl("prova.dat", "prova.gci", 1);
    
    gfx_Set(SCREEN_MODE,LANDSCAPE) ;
    
    img_Show(hndl,0);
    Best Regards,

    Leave a comment:


  • corrado
    replied
    Hi,
    I've succesfully modified the Gen4-uLCD-50DT.inc file to display a different text in the splash screen.
    Now, if possible, I would like to display a .jpg image.
    I've tried to replace the code in the .inc file with the following but it seems it's not correct (error: 'hndl' not found)

    How can I show an image?

    Thx,
    Corrado

    putstr("Mounting...\n");
    if (!(file_Mount()))
    while(!(file_Mount()))
    putstr("Drive not mounted...");
    pause(200);
    gfx_Cls();
    pause(200);
    wend
    endif

    hndl := file_LoadImageControl("prova.dat", "prova.gci", 1);

    gfx_Set(SCREEN_MODE,LANDSCAPE) ;

    img_Show(hndl,0);

    Leave a comment:


  • Joseph Herrera
    replied
    Hi corrado,

    The splash screen is a part of the SPE application.

    This forum post might provide a lot of help:

    changing splash screen ĀµOLED-96-G2
    http://forum.4dsystems.com.au/forum/...2%B5oled-96-g2

    It is for the goldelox but you can still search the file for your displays in the same folder, if you want to change it this way.

    The arduino comemnt on the other thread might be referring to implementing your own splash screen by 'adding' a section in the arduino code which will display a 'custom screen' at start -up for little while using serial commands like displaying an image.

    Hope this helps and Best Regards,

    Leave a comment:


  • corrado
    started a topic Change splash screen

    Change splash screen

    Hi,
    I would need to change the splash-screen (with an image or at least a custom text) on a gen4-LCD-50DT (Diablo) and on a gen4-uLCD-28PT (Picaso).

    I read the following answer in another post: "If you use your project with a host controller capable of Serial UART protocol like an Arduino, you will be able to implement a splash screen"

    How can I do that?

    I searched in the "SERIAL ENVIRONMENT COMMAND SET" document for both Picaso and Diablo and also in the App Notes but I didnt't find the answer.

    Thanks,
    Corrado
Working...
X