-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
Description
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