Skip to content

flickering and mirrored solucioned #70

@peralver

Description

@peralver

I was able to fix my mirrored and vertical scrolling screen issue by modifying video.cpp with the following. I added
#include "Adafruit_ILI9341.h"
#ifndef TFT_MAC
#define TFT_MAC 0x48
#endif
#define MADCTL_MY 0x80 ///< Bottom to top
#define MADCTL_MX 0x40 ///< Right to left
#define MADCTL_MV 0x20 ///< Reverse Mode
#define MADCTL_ML 0x10 ///< LCD refresh Bottom to top
#define MADCTL_RGB 0x00 ///< Red-Green-Blue pixel order
#define MADCTL_BGR 0x08 ///< Blue-Green-Red pixel order
#define MADCTL_MH 0x04 ///< LCD refresh right to left
and modify this section
#ifdef TFT_VFLIP
//0x36, 2, TFT_MAC^0xc0, // Memory Access Control
MADCTL_MV ,2,0x20,

I hope this helps those who have these boards with problems. You have to install the ili9341 adafruit libraries too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions