Programming with Arduino

Vaibhav Jain

Assignment 1
Write a program and burn it on to arduino board to make a LED blink with some delay.
int pinNo=13;
int high=600;
int low=400;

void setup()
{
   pinMode(pinNo,OUTPUT);
}

void loop() {
   digitalWrite(pinNo, HIGH);  
   delay(high);
   digitalWrite(pinNo, LOW);
   delay(low);
}

Vaibhav Jain

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License