Back to Course

Arduino Programming using Arduino IDE

0% Complete
0/0 Steps
  1. Chapter-1->How to download Arduino IDE?
    3 Topics
    |
    1 Quiz
  2. Chapter-2-> Introduction to Arduino IDE
    3 Topics
    |
    1 Quiz
  3. Chapter-3–> How to connect any board with Arduino IDE?
    4 Topics
    |
    1 Quiz
  4. Chapter-4–>Steps to write a code in Arduino Programming
    5 Topics
    |
    1 Quiz
  5. Chapter-5–>Introduction to Arduino Uno
    5 Topics
    |
    1 Quiz
  6. Chapter-6–>Explanation of Variables and operators in programming
    5 Topics
    |
    1 Quiz
  7. Chapter-7–>How to use conditional statement and loops?
    6 Topics
    |
    1 Quiz
  8. Chapter-8–>How to use analog input in Arduino IDE ?
    6 Topics
    |
    1 Quiz
  9. Chapter-9–>How to add libraries in Arduino IDE ?
    6 Topics
    |
    1 Quiz
  10. Chapter-10–>How the Arduino Serial library performs serial communication?
    4 Topics
    |
    1 Quiz
  11. Chapter-11–>Interfacing of Dht11 sensor with Arduino
    4 Topics
    |
    1 Quiz
  12. Chapter-12–>Troubleshooting and Errors in Programming
    3 Topics
    |
    1 Quiz
  13. Assessment
    6 Topics
Lesson Progress
0% Complete

What is Arduino Programming?

Arduino programming is written in C and C++ language with some additions of methods and functions.C/C++ language is a human-readable programming language. When you create a ‘sketch’ (the name given to Arduino code files) in Arduino Uno, it is processed and compiled to machine language( which is understandable by machines).Arduino programming is a very simple language to perform different task, doing cool stuff etc.

This programming is written in Arduino IDE software which allows you to code different boards.Arduino IDE is based on a very simple programming language called processing.

Arduino programs have a minimum of 2 blocks:

  1. Preparation
  2. Execution

Each block has a set of statements enclosed in curly braces:

void setup( )

{

statements-1;

.

statement-n;

}

void loop ( )

{

statement-1;

.

statement-n;

}

Here, setup ( ) is the preparation block and loop ( ) is an execution block.