You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Blink example program fails when serial functions are used, even with LTO disabled globally. The LED seems to be stuck in ON position. However, removing the serial code allows the LED to blink normally.
test code:
voidsetup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize LED pin
Serial.begin(9600);
Serial.println();
Serial.println("Hello world. I was built with clang!");
}
voidloop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
how ever by removing the serial code the program works normally:
The Blink example program fails when serial functions are used, even with LTO disabled globally. The LED seems to be stuck in ON position. However, removing the serial code allows the LED to blink normally.
test code:
how ever by removing the serial code the program works normally:
The text was updated successfully, but these errors were encountered: