How to change the settings so the 5.7" Okaya VGA display will work?
  • The option to change the LCD is in a file called Source\App\Config_App.h

    You need to comment out #define for the Toshiba QVGA and remove the // before the #define for the Okaya VGA LCDC_3_5. LCDC_3_5 refers to the LCD CARRIER board number and not the size of the display. VGA refers to a resolution of 640x480 instead of a QVGA resolution of 320x240.

    The code should look like this when you're done...

    // Configure LCD screen being used and pull in the specific setup
    // information for that LCD. See Types/LCD/Config_LCD.h for a list.
    //#define UEZ_DEFAULT_LCD_CONFIG      LCD_CONFIG_TOSHIBA_QVGA_LCDC_REV2
    //#define UEZ_DEFAULT_LCD_CONFIG      LCD_CONFIG_TOSHIBA_QVGA_LCDC_3_5
    //#define UEZ_DEFAULT_LCD_CONFIG      LCD_CONFIG_OKAYA_QVGA_LCDC_3_5
    #define UEZ_DEFAULT_LCD_CONFIG        LCD_CONFIG_OKAYA_VGA_LCDC_3_5
    //#define UEZ_DEFAULT_LCD_CONFIG      LCD_CONFIG_OKAYA_QVGA_3x5_LCDC_3_5

    Recompile the code and the unit will work just like the release VGA version.