Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
KenH Newbie Joined: 06/02/2022 Location: United KingdomPosts: 13
Posted: 01:20pm 20 Oct 2022
Copy link to clipboard
Print this post
Hello
Update: Just noticed the POKE DISPLAY command [,data1] [,data2] [,datan] command, so I guess that will solve my problem. Giving a try now!
No luck, obviously "barking up the wrong tree!"
I have just received several ST7735 128x160 displays marked 1.8 TFT SPI 128*160 V1.1 When used in portrait mode the display is shifted 2 pixels to the left and one pixel up leaving a border at the bottom and right of random pixels. I have tried both PicoMiteV5.07.04 and PicoMiteV5.07.05RC8.
Option System SPI GP10,GP11,GP12 Option LCDpanel ST7735, RP,GP8,GP15,GP9
I have had several of these displays previously which have not exhibited this problem. I am aware that some of the drivers for the Micromite and Picomite have extra parameters to allow alignment of the display to overcome similar problems. Unfortunately, there does not appear to be this facility with the Picomite ST7735 driver.
I am assuming that the ST7735 registers CASET at 2Ah and RASET at 2Bh need to have an offset added, but as the Picomite does not allow access to the system SPI bus, I cannot find a way to achieve this.