Teensy 4.1 with ST7789 240x240 display #2735
Replies: 4 comments 1 reply
-
Teensy_PimoRound.txt |
Beta Was this translation helpful? Give feedback.
-
With some help from the Teensy Forum, I was able to get both screens working on seperate SPI buses. #include "SPI.h" #define TFT_CS_1 10 #define TFT_CS_2 0 #define TFT_RST 32 Adafruit_ST7789 tft1 = Adafruit_ST7789(TFT_CS_1, TFT_DC_1, TFT_RST); void setup(){ pinMode(9, OUTPUT); tft2.init(240, 240); void loop() tft2.setCursor(60, 120); |
Beta Was this translation helpful? Give feedback.
-
Two displays can be connected to the same SPI bus, but the display chip selects must be managed by the sketch. The are some YouTube videos that show how this is done. |
Beta Was this translation helpful? Give feedback.
-
HI Bodmer, Thanks for the message. I have solved the problem with a Teensy 4.1 which allows me to use 2 seperate SPI buses. But I haven't figured out to use this configuration with your libraries. |
Beta Was this translation helpful? Give feedback.
-
I am changing my board to a Teensy 4.1 as it can support 2 SPI displays, but can't find a set-up file for this board.
Beta Was this translation helpful? Give feedback.
All reactions