Open JohnKorte opened 6 months ago
same board same error bro. i have not find any solution yet
I think in your case you might be passing the GPIO pin wrong.. I had the same issue. When building the connections with the GPIO pins just connect it according to hardware pin number.. but in the code snippent by the screen manual would have a python or c code for examples. In my case waveshare screen had the following code
The pin number in the code can be different from the hardware pin count.
While executing the cmake build command pass your software gpio pin count
for eg, mine cmake -DST7789=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=8 -DUSE_DMA_TRANSFERS=OFF -DSTATISTICS=0 ..
even though my hardware pins i connected were different.
run raspi-config to set
SPI Interface in Interface Options -> SPI -> Enabled Enable the GL driver using Advanced options -> GL driver reboot build the fbcp with the -D driver on your LCD. I had a ST7789v with 320 and 240 aspect ratio so had to change C code refered in the issue.
When i run the sudo ./fbcp-ili9341 command the screen gets a bit brighter but remains white. And i get a Bus Error.
I am runng Bullseye on a raspberry pi zero 2w. Can someone please help me i just want to display the Desktop of the Raspi.