Hi,
I've been trying to use my Teensy 4.1 and the ST7735_t3 library on an SPI display that is built on the ST7735s, with a screen that has 128x96 pixels.
I've tried customising the initialiser to write _screenWidth = 128, _screenHeight = 96, _width = 128, _height = 96, and I've checked that all of the setup/initialisation commands issued to the display match those supplied in the manufacturer's example (which uses a very slow bit-banging SPI approach).
I can fill the display with a solid colour successfully and everything looks ok there, but if I do something that runs over multiple lines, like placing some text on the screen using the Adafruit_GFX library, it all looks badly skewed as though it's still outputting the wrong number of pixels per row over SPI.
Just curious, does anyone know if it's possible to use a custom screen size like this, or am I needing to do some more dramatic mods to the ST7735_t3 library in order to achieve this? I'm getting a little lost when I look through the functions that do the final output of pixels to the display, so just looking for any quick tips or a sense of how easy this is to achieve!
Cheers in advance, much appreciated.
I've been trying to use my Teensy 4.1 and the ST7735_t3 library on an SPI display that is built on the ST7735s, with a screen that has 128x96 pixels.
I've tried customising the initialiser to write _screenWidth = 128, _screenHeight = 96, _width = 128, _height = 96, and I've checked that all of the setup/initialisation commands issued to the display match those supplied in the manufacturer's example (which uses a very slow bit-banging SPI approach).
I can fill the display with a solid colour successfully and everything looks ok there, but if I do something that runs over multiple lines, like placing some text on the screen using the Adafruit_GFX library, it all looks badly skewed as though it's still outputting the wrong number of pixels per row over SPI.
Just curious, does anyone know if it's possible to use a custom screen size like this, or am I needing to do some more dramatic mods to the ST7735_t3 library in order to achieve this? I'm getting a little lost when I look through the functions that do the final output of pixels to the display, so just looking for any quick tips or a sense of how easy this is to achieve!
Cheers in advance, much appreciated.