Hello,
I am new to coding for Arduino on VSCode and was wondering if anyone could assist me in figuring out how to fix an uploading issue I am having with VSCode and PlatformIO. I am trying to run a very simple program to make sure PlatformIO is working but it is not.
Source File:
#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(5000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(5000);
}
The following image is one that shows the part where the process gets stuck
Any help would be great! I’d be more than happy to provide any necessary files that could assist in solving the issue.