- Tue Oct 06, 2020 8:04 am
#219510
Background
Brand new Artemis Nano
Win 10
Arduino 1.8.13, fresh install
Core 2.0.1 with the understanding that the serial monitor needs to be closed during upload
"Blink" runs fine
Symptom and/or Red Herring
On load of Arduino IDE
...\core-implement\HardwareSerial.cpp: In member function 'int UART::printf(const char*, ...)':
...\core-implement\HardwareSerial.cpp:153:19: warning: variable length array 'buf' is used [-Wvla] char buf[space];
Test Code
Serial monitor output: "10:56:10.798 -> He"
LED activity: None
Thanks in advance.
Brand new Artemis Nano
Win 10
Arduino 1.8.13, fresh install
Core 2.0.1 with the understanding that the serial monitor needs to be closed during upload
"Blink" runs fine
Symptom and/or Red Herring
On load of Arduino IDE
...\core-implement\HardwareSerial.cpp: In member function 'int UART::printf(const char*, ...)':
...\core-implement\HardwareSerial.cpp:153:19: warning: variable length array 'buf' is used [-Wvla] char buf[space];
Test Code
Code: Select all
Resultsvoid setup() {
pinMode(19, OUTPUT);
Serial.begin(9600);
while (!Serial){};
Serial.print("Hello.");
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(19, HIGH);
delay(500);
digitalWrite(19, LOW);
delay(1000);
}
Serial monitor output: "10:56:10.798 -> He"
LED activity: None
Thanks in advance.