Led with Breadboard - v1 — Arduino Nano simulation

Breadboard test (LED)

An interactive Arduino Nano circuit simulation you can run free in your browser on Velxio, by a36274595.

Components

Sketch code

#include <Servo.h>

bool isSwitchOn;

void setup() {
  // LED
  pinMode(13, OUTPUT);
  pinMode(5, INPUT_PULLUP);
}



//void loop starts here.
void loop() {
  isSwitchOn = digitalRead(5);

  digitalWrite(13, isSwitchOn);

  if (isSwitchOn) {
  }
}








//LED switch arm mechanizm

More projects by a36274595