This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

about using ST008-U LCD

Hi, hope you everything goes well.
I have a question about using the CT008-U LCD, with nrf52840. And I am going to use gfx class function to write text or draw a rectangle on this LCD. I see that in the example it is using
nrf_lcd_t nrf_lcd_ili9341
nrf_lcd_t nrf_lcd_st7735
But I do not find the corresponding "nrf_lcd_t" for my lcd instance. Do you think I can use gfx class combined with SPI. Though I still cannot find a way to define a lcd instance for CT008-U. Could you please give me a hint to it?
By the way, if I want to implement something like LCD touch screen, I can do this with SPI, right?
Thanks a lot for all the advice you give to me:D
  • Hi,

    Thanks a lot for your response. The graphics class function I was talking about is 

    https://www.espruino.com/Graphics

    Also, I make some progress this morning. Because the LCD I am using has 15 pages and 240 columns. I create a 15*240 int8_t matrix and write 1 to all the pixels. I am able to get figures on the LCD screen in this way. So now the problem seems to change to how can we shape the values in the matrix (especially, when I want to write string).  As I mentioned, the graphics class function is able to help me write data to the matrix in different shapes (rectangle, line, string). But this class function is not capable of my current system. Do you think there is a substitute class function I can use?

    Thanks again for your patience, and please let me know if more information is needed.

    Best regards, Leo

  • Hi Leo

    Which board are you using? 
    It is one of the standard Espruino boards?

    For Espruino related question you probably want to check on their forums, since Espruino is not a Nordic product and is not supported by us directly. 

    Best regards
    Torbjørn

Related