Hi, hopefully someone can point me in the right direction.
I've been working with a ST7789V LCD controlled by an NRF52832, I'm trying to draw images using LCD_SPI_UNBUF but unfortunately the colours always seem to be incorrect.
So far I've set the the screen RGB mode using the 0x36 command and 0x8 but apart from that I'm struggling. I'm sending a raw image file directly to the lcd via SPI. The reds look nearly correct and I'm using a raw image file in a 16bpp RGB565 format. Is there something I'm missing, so far I'm unsure if it's the format of the image file or something I'm missing with the palette. I'm wondering if sending the raw image file directly to the LCD is in the incorrect format having looked at the datasheet but currently lack the hardware to test this. Any advice would be hugely appreciated!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi, hopefully someone can point me in the right direction.
I've been working with a ST7789V LCD controlled by an NRF52832, I'm trying to draw images using LCD_SPI_UNBUF but unfortunately the colours always seem to be incorrect.
So far I've set the the screen RGB mode using the 0x36 command and 0x8 but apart from that I'm struggling. I'm sending a raw image file directly to the lcd via SPI. The reds look nearly correct and I'm using a raw image file in a 16bpp RGB565 format. Is there something I'm missing, so far I'm unsure if it's the format of the image file or something I'm missing with the palette. I'm wondering if sending the raw image file directly to the LCD is in the incorrect format having looked at the datasheet but currently lack the hardware to test this. Any advice would be hugely appreciated!
I'll add an image later today.