Can serial data be read on Teensy's USB port without opening any serial terminal emulator?
I'm trying to interface an industrial datalogger (CR350) with Teensy 4.1. I'm trying to send data from CR350's USB port to Teensy's USB port. However, I cannot read any of the serial data coming from CR350. When I try to use Putty or Arduino's Serial monitor, I can read the output of the CR350 USB port.
Upon checking, I'm stuck in this part of my Teensy code
When using Arduino's serial monitor, this statement becomes false.
Is there a way to bypass the opening of the serial monitor so I can read any serial data in Teensy's USB port?
I'm trying to interface an industrial datalogger (CR350) with Teensy 4.1. I'm trying to send data from CR350's USB port to Teensy's USB port. However, I cannot read any of the serial data coming from CR350. When I try to use Putty or Arduino's Serial monitor, I can read the output of the CR350 USB port.
Upon checking, I'm stuck in this part of my Teensy code
Code:
while (!Serial) {
digitalWrite(LED_DataLogger, HIGH);
}
When using Arduino's serial monitor, this statement becomes false.
Is there a way to bypass the opening of the serial monitor so I can read any serial data in Teensy's USB port?