You are on page 1of 2

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Lab Report-3

Course Title: Computer Graphics Lab

Course Code: CSE-422

Submitted By Submitted To
Name: Saad Ahammad Moloy Kumar Ghosh
ID: 192311007 Lecturer
Semester: 11th Department Of CSE
Batch: 21st Varendra University
Department: CSE
Varendra University
Experiment: Intro to Arduino and circuit with code of a blinking
light.

Code:
// C++ code
//
int led=13;
void setup()
{
pinMode(led, OUTPUT);
}

void loop()
{
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
}

Output:

Result: Here we can see that we can successfully blink a light using Arduino,One Register and a LED
light.

You might also like