Monday, 4 July 2016

Lesson 2 - [Codes] Blink LED

LED Blink Codes

const int led = 13;

void setup ()
{
pinMode(led, OUTPUT); 
}
void loop () 
{
digitalWrite (led, HIGH);
delay(1000);
digitalWrite (led, LOW);
delay(1000);
}

Copy and Paste the codes to the Arduino Sketch. 


No comments:

Post a Comment