Introduction towards arduino .
Arduino is an open-source hardware development board that uses an AVR microcontroller as its main controlling unit. Arduino is generally used for making embedded electronics or robotics projects. Arduino is the best product for newbies to learn about the basics of embedded electronics and robotics.
By default, the Arduino's pins are set as an input, but by using the pinMode function, we've now set pin _ as an output. We haven't told it what value we want to output yet, so it will just be 0. This means that, inside the chip, pin _ is connected to 0v, this is the ground. If you would connect the 5v pin to pin _ now, you would create a short circuit! Be careful!
In the Arduino IDE and other C-like programming languages, every statement is ended with a semicolon (;).
void setup() – Sets things up that have to be done once and then don’t happen again.
void loop() – Contains the instructions that get repeated over and over until the board is turned off
Basic Arduino information
Arduino measures time in milliseconds
1000miliseconds = 1 second .
By Krishna Sachdeo
Master tech Technology
Comments
Post a Comment