BitBastelei #310 РVSCode und PlatformIO statt Arduino IDE

// source: BitBastelei #310 – VSCode und PlatformIO statt Arduino IDE
// https://youtu.be/Yb-HOBynJdc

 

#include <Arduino.h>

 

#define GREENLED 13

 

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println(“Start”);
pinMode(GREENLED,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(GREENLED,LOW);
Serial.println(“the green led is off”);
delay(1000);
digitalWrite(GREENLED,HIGH);
Serial.println(“the green led is on”);
delay(1000);
}