T3.5 program runs but no serial output?

paynterf

Well-known member
I have the simplest possible program for a T3.5. All it does is toggle the built-in LED and write a line to the serial port:

Code:
void setup()
{
  Serial.begin(115200);

  while (!Serial)
  {
    delay(10);
  }

  pinMode(LED_BUILTIN, OUTPUT);
  delay(3000);
  digitalWrite(LED_BUILTIN, LOW);

  Serial.printf("T3.5 I2C Scanner\n");


}

void loop()
{

  Serial.printf("T3.5 I2C Scanner\n");
  delay(500);
  digitalToggle(LED_BUILTIN);

}

The code compiles and runs fine (I can see the LED blinking), but no output to the serial port window. I'm using VS Community Edition 2020 with the Visual Micro extension. I know this is something basic I'm doing wrong, but for the life of me I can't see it. Any suggestions?

TIA,

Frank

EDIT: False alarm - sorry. I restarted my PC and now I'm getting serial output. Apparently I had something else running that had captured the serial port.
 
Last edited:
On Windows?
Serial is connecting, or it would stay in the while without blink.

Is there a current version of the Arduino IDE with TeensyDuino installed to confirm all is functional in that case?
 
Back
Top