You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm new to raspberry pi's but I've been struggling through this after days, I am able to display the desktop on my screen. However it is only 240x240 as seen at the startup pictures, with static pixels for about 80ish pixels on the right side. The screen resolution says it should be 280x240. I have tried editing the DISPLAY_NATIVE_HEIGHT and WIDTH in st7735r.h to combinations of 320, 280, and 240 but no matter what, it doesn't change anything, same with editing the y=80 in st7735r.cpp and changing the last value to 0 instead of 320 as many seem to suggest.
Here is the relevant information:
I used the latest version of raspberry pi legacy (Bullseye) on a raspberry pi 3b plus https://www.waveshare.com/wiki/1.69inch_LCD_Module#Overview
the screen seems to be an st7789V2 driver but does work with ST7789VW and ST7789
My config.txt is:
hdmi_force_hotplug=1
hdmi_cvt 280 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
display_rotate=2
(I used 640 480 when I needed to connect to my monitor)
I have spi transfers and vc4-kms-v3d commented out
Here is the code I used to create it:
sudo apt-get install cmake
git clone https://github.com/juj/fbcp-ili9341.git
cd fbcp-ili9341
mkdir build
cd build
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=30 -DDMA_RX_CHANNEL=5 -DBACKLIGHT_CONTROL=ON -DARMV8A=ON -DSTATISTICS=0 ..
make -j
I also fiddled with it and have used this with various edits
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=30 -DUSE_DMA_TRANSFERS=OFF -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON
-DBACKLIGHT_CONTROL=ON -DARMV8A=ON -DSTATISTICS=0 ..
with the DST7789 as well
The text was updated successfully, but these errors were encountered:
Hello,
I'm new to raspberry pi's but I've been struggling through this after days, I am able to display the desktop on my screen. However it is only 240x240 as seen at the startup pictures, with static pixels for about 80ish pixels on the right side. The screen resolution says it should be 280x240. I have tried editing the DISPLAY_NATIVE_HEIGHT and WIDTH in st7735r.h to combinations of 320, 280, and 240 but no matter what, it doesn't change anything, same with editing the y=80 in st7735r.cpp and changing the last value to 0 instead of 320 as many seem to suggest.
Here is the relevant information:
I used the latest version of raspberry pi legacy (Bullseye) on a raspberry pi 3b plus
https://www.waveshare.com/wiki/1.69inch_LCD_Module#Overview
the screen seems to be an st7789V2 driver but does work with ST7789VW and ST7789
My config.txt is:
hdmi_force_hotplug=1
hdmi_cvt 280 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
display_rotate=2
(I used 640 480 when I needed to connect to my monitor)
I have spi transfers and vc4-kms-v3d commented out
Here is the code I used to create it:
sudo apt-get install cmake
git clone https://github.com/juj/fbcp-ili9341.git
cd fbcp-ili9341
mkdir build
cd build
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=30 -DDMA_RX_CHANNEL=5 -DBACKLIGHT_CONTROL=ON -DARMV8A=ON -DSTATISTICS=0 ..
make -j
I also fiddled with it and have used this with various edits
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=30 -DUSE_DMA_TRANSFERS=OFF -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON
-DBACKLIGHT_CONTROL=ON -DARMV8A=ON -DSTATISTICS=0 ..
with the DST7789 as well
The text was updated successfully, but these errors were encountered: