Tags: shapoco/lcdtap
Tags
pico2_common: fix 1-line vertical shift in DVI output Pre-encoding a black scanline into q_tmds_valid before dvi_start() caused a permanent 1-line offset, making the bottom framebuffer row appear at the top of the DVI screen. Fix by pre-encoding scanline 0 actual content and starting the main loop at scanY=1. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix ST7789 RGB565 color mismatch caused by RAMCTRL little-endian byte… … order RAMCTRL (0xB0) with P2 bit 3 = 1 puts the ST7789 into little-endian mode (low byte sent first over SPI). LcdTap now parses this bit and assembles RGB565 pixels in the correct byte order accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add command dump viewer to OSD - LcdTap: add dump buffer (256 entries) that captures command/data bytes and HW reset events; starts in ACTIVE state on power-on - Osd: add DUMP_VIEW state with hex viewer (colored by entry type), color buffer (textCol_) for per-character RGB565 palette rendering, and "View Dump" action in the main menu Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
add LcdTapConfig.swapRB and PIN_CFG_SWAP_RB (GPIO 22) - Add bool swapRB to LcdTapConfig; in updateWriteCache() the MADCTL BGR bit is XOR'd with swapRB so the R/B swap can be overridden at boot time independently of the LCD command stream. - Move PIN_CFG_CLK_MODE from GPIO 22 to GPIO 0 in pico2_st7789. - Add PIN_CFG_SWAP_RB = GPIO 22 to both pico2_st7789 and pico2_3line_spi; LOW (default) = no swap, HIGH = swap R and B channels. - Update README files and schematics accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PreviousNext