.jpg)
The microcontroller board contains AVR microcontroller. for example arduino UNO has atmega328
in it as a brain. the arduino microcontroller can be programmed with high level language called C language. this is also called arduino programming. this is easy to understand and develop our own idea. we can do a lot of project by arduino programming concept like electronics projects, robotic projects, electronics appliances etc, automation and security projects. but to do all of these projects, we have to start from a basic project which i want to show you a automatic led flasher project. this program can be found anywhere and is easy and helpful to understand. connect your arduino board with your computer with usb cable.

void setup()
{ //initialize digital pin outputs
pinMode(ledpin,OUTPUT);
}
void loop()
{
digitalWrite(ledpin,HIGH);
delay(1000);
digitalWrite(ledpin,LOW);
delay(1000);
}
then select your arduino board ie, if you are using UNO select UNO and select correct com port.. then upload your program .. you will get the output.. thank you.
No comments:
Post a Comment