because the coolness from this lcd : can we have support for the ST7789 with indivudual Pixel Range ?
https://www.ebay.de/itm/ST7789-1-3-Inch ... Sw1xZe8s~y
thanks a lot
ST7789 240x240
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
- Fernando Perez
- Posts: 378
- Joined: Mon Feb 15, 2021 10:09 pm
- Location: Santander (Spain)
- Has thanked: 195 times
- Been thanked: 267 times
Re: ST7789 240x240
I don't understand (damn Google translator) your answer.
Do you mean that the ST7789 is already Annex compatible and that Panno should do a test or do you think that you should incorporate it into a future version of Annex?
Do you mean that the ST7789 is already Annex compatible and that Panno should do a test or do you think that you should incorporate it into a future version of Annex?
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
Re: ST7789 240x240
Yes, this is already supported, but never tested (at least by me) at this resolution
-
- Posts: 142
- Joined: Mon Feb 08, 2021 10:10 pm
- Location: Scotland
- Has thanked: 47 times
- Been thanked: 50 times
Re: ST7789 240x240
I bought one of these modules (identical to the picture in the first post).
It only has 7 pins - missing the CS pin.
I have eventually got it to work with an Arduino UNO with "-1" as the CS pin but the TFT.init in Annex requires a CS pin.
My question is - does Annex require a module with CS or is it going to work if I use a dummy GPIO number?
If it needs CS then I will try adding it as shown here:-
https://www.instructables.com/Adding-CS-Pin-to-13-LCD/
It only has 7 pins - missing the CS pin.
I have eventually got it to work with an Arduino UNO with "-1" as the CS pin but the TFT.init in Annex requires a CS pin.
My question is - does Annex require a module with CS or is it going to work if I use a dummy GPIO number?
If it needs CS then I will try adding it as shown here:-
https://www.instructables.com/Adding-CS-Pin-to-13-LCD/
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
Re: ST7789 240x240
Hi,
at first look this display seem to be based on I2C and is not supported.
I should buy one and test.
at first look this display seem to be based on I2C and is not supported.
I should buy one and test.
-
- Posts: 142
- Joined: Mon Feb 08, 2021 10:10 pm
- Location: Scotland
- Has thanked: 47 times
- Been thanked: 50 times
Re: ST7789 240x240
Hi cicciocb,
It is SPI (not I2C) but the MOSI pin is labelled SDA because the chip can send data out on it as well as receive.
I have got it working eventually. The lack of CS is not a problem as Annex does not complain if I use -1 as the CS pin. The reset pin does have to be toggled at initialisation.
It requires slightly different initialisation codes to the ST7735 and my module requires SPI mode 3 to work with Annex.
I will post some code in the hardware section of the forum later today or tomorrow.
With the correct init and SPI mode I can use all the Annex TFT commands.
It is SPI (not I2C) but the MOSI pin is labelled SDA because the chip can send data out on it as well as receive.
I have got it working eventually. The lack of CS is not a problem as Annex does not complain if I use -1 as the CS pin. The reset pin does have to be toggled at initialisation.
It requires slightly different initialisation codes to the ST7735 and my module requires SPI mode 3 to work with Annex.
I will post some code in the hardware section of the forum later today or tomorrow.
With the correct init and SPI mode I can use all the Annex TFT commands.
- cicciocb
- Site Admin
- Posts: 1979
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact: