Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Boot Parameter to Rotate Color LCD #673

Copy link
Copy link
@rhempel

Description

@rhempel
Issue body actions

Feature Request

I built the color LCD hack and realized (too late) that the display was actually upside down. I also posted this on the web and a few people have followed my footsteps and also created upside-down displays.

Fixing the orientation is easy if you know how to rebuild a kernel by editing this code in board-legoev3.c to change rotate to 270.

Or we could use a boot parameter to rotate the display - comments?

/* Adafruit 1.8" TFT */

static const struct fbtft_platform_data legoev3_st7735r_data = {
    .display = {
        .buswidth = 8,
        .backlight = 1,
    },
    .rotate = 90,
    .gpios = (const struct fbtft_gpio []) {
        { "reset", EV3_LCD_RESET_PIN },
        { "dc", EV3_LCD_A0_PIN },
        { "led", EV3_LCD_CS_PIN },
        {},
    },
};
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.