Tuesday, October 29, 2013

PROGRAMMING ON INDUINO BOARD(CLONE OF ARDUINO)

Now a day arduino is very famous for doing the research from the home....
Here i also done the some projects related to arduino board(clone)....


This is the boards of the induino and its pin discription where  the exactly pins are connected.
for more details of this board she this web site www.potentiallabs.com

 the controller used in this board is the ATMEGA328....

how to start the programming on the induino board(clone of the arduino)?

First download the arduino ide...then open the new file...
//simple program to blink the led light...

int led1=13;//the led 1 is connected to the pin 13 of the atmega 328 so
void setup()
{
pinMode(led1,OUTPUT);
//here we are externally defining that the pin 13 is output port

}

void loop()
{
digitalWrite(led1,HIGH);//this is the cmd gives the led on state
delay(1000);
digitalWrite(led1,LOW);//this is the cmd gives the led off state
delay(1000);
}





No comments:

Post a Comment

python class topic video