Defragster nailed it. If "COM10 (Teensy)" is chosen, it fails every time but if "COM10 Serial (Teensy 4.0)" is chosen, it works every time.
Thanks Defragster!
The Serial Monitor is showing the Teensy 4.0 as "offline" after uploading the sketch into an existing Serial Monitor. If a new Serial Monitor is started after uploading, everything works okay. But when the code is...
defragster is correct. I tried the SPI.setSCK(14); and it didn't change anything. SCK was stil functioning on pin 13.
Guess I need a different strategy for this.
The following code blinks the led in the teensy 4.0 once per second but if the TFT.Begin() command is executed, the LED won't blink. The Teensy is still running because the Serial print keeps going, but no blink and no...