I'm seeing something odd. Running the example ILI9341Test for the touchscreen. All is well if USB serial is connected. If I press Teensy 3.2 reset button it restarts right away. But if there is just a power supply (I'm using the purple board to connect Teensy to the 2.8" touchscreen), or I power via USB from a power adapter, without a USB serial port open, Teensy won't restart with the reset button. It starts with a power-on, but can't be reset.
If I connect USB to a waiting serial monitor window then it starts up. Teensy appears to want to wait forever for a serial connection even if I don't want it to.
Same problem with or without this code in setup()
Serial.begin(115200);
while((!Serial) && (millis()<5000)); // wait until serial monitor is open or timeout
Serial.print(millis());
Serial.println(" ILI9341 Test! ");
On a related note, I notice that in the ILI9341Test as published there is no Serial.begin(), but Serial.print() seems to work anyway. If this is so, why is Serial.begin() needed?
Thanks
Bruce
If I connect USB to a waiting serial monitor window then it starts up. Teensy appears to want to wait forever for a serial connection even if I don't want it to.
Same problem with or without this code in setup()
Serial.begin(115200);
while((!Serial) && (millis()<5000)); // wait until serial monitor is open or timeout
Serial.print(millis());
Serial.println(" ILI9341 Test! ");
On a related note, I notice that in the ILI9341Test as published there is no Serial.begin(), but Serial.print() seems to work anyway. If this is so, why is Serial.begin() needed?
Thanks
Bruce