I'm using two identical sets of Teensy 3.2, with Paul's ILI9341 adapter board and the 2.8" touchscreen. I have a version of the touch test working fine.
I want to use different CS and DC pins so that I can also use the WIZ820io Ethernet adapter. So on the one display adapter we hacked the traces so we can move CS and DC.
But I can't get any alternate CS and DC pins to work. I change them in the code here:
The touchscreen still works and outputs to the USB Serial Monitor. If I look at the TFT CS pin on a scope, it is always high, never goes asserted. DC is changing.
I've tried DC on digital pin 6 and CS on pin 5 or pin 15, same result. Something is not allowing the alternate TFT CS to assert low.
What am I doing wrong?
Thanks
I want to use different CS and DC pins so that I can also use the WIZ820io Ethernet adapter. So on the one display adapter we hacked the traces so we can move CS and DC.
But I can't get any alternate CS and DC pins to work. I change them in the code here:
Code:
#define TFT_CS 6 // 10 is default, different on ethernet/touch combo
#define TFT_DC 5 // 9 is default, different on ethernet/touch combo
// MOSI=11, MISO=12, SCK=13
XPT2046_Touchscreen ts(CS_PIN);
ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC);
The touchscreen still works and outputs to the USB Serial Monitor. If I look at the TFT CS pin on a scope, it is always high, never goes asserted. DC is changing.
I've tried DC on digital pin 6 and CS on pin 5 or pin 15, same result. Something is not allowing the alternate TFT CS to assert low.
What am I doing wrong?
Thanks