Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached to pin 2. const int buttonPin = 2; // the number of the pushbutton pin const int ledPin = ...
See the VS Code Tips wiki for a quick primer on getting started with VS Code. Setting up the JDK The extension requires JDK 17 or newer to run. Optionally, set a different JDK to compile and run ...