Khaled Md Saifullah
Published © MIT

Virtual Arduino Simulation

This is a simple project on virtual simulation of an Arduino.

BeginnerFull instructions provided1 hour211,189
Virtual Arduino Simulation

Things used in this project

Story

Read more

Schematics

Circuit Diagram

Code

Code for basic led blink

Arduino
int greenLed = 7;
int redLed = 6;

void setup()
{
  pinMode(greenLed, OUTPUT);
  pinMode(redLed, OUTPUT);
  Serial.begin(9600);
}

void loop()
{
  digitalWrite(redLed, HIGH);
  digitalWrite(greenLed, HIGH);
  delay(2000); // Wait for 2000 millisecond(s)
  digitalWrite(redLed, LOW);
  digitalWrite(greenLed, LOW);
  delay(2000); // Wait for 2000 millisecond(s)
}

Credits

Khaled Md Saifullah

Khaled Md Saifullah

18 projects • 44 followers
🦸Tech Enthusiast 👨🏾‍💻Programmer 📳IoT Specialist

Comments