LCD has an offset

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • LCD has an offset

    We have STM32F412VE on a custom board, 128x160 LCD based on
    Ilitek ILI9163V. hw interface is Intel 8080 8
    bit.

    The controller seems to be configured as 132x162 (pins GM[1-3]) although the
    display is 128x160. I deduce this from the fact that in order to
    draw the pixel in the top left corner it is necessary to index the
    pixel (2,1) and the pixel in the lower right corner and at the
    position (129,160).

    Can I configure emWin with this offset?

    best regards
    Max
  • Hi,

    The config structure (CONFIG_FLEXCOLOR) of the GUIDRV_FlexColor driver has two members named 'FirstSEG' and 'FirstCOM'. With these parameters it is possible to set an offset to the image on the screen. Play a bit with them and try to find a proper position.

    Regards,
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.