## Getting Started with Arduino IDE

Introduction Arduino IDE is an open source software for writing code and uploading it to the Arduino board. It runs on different operating systems such as Windows, Mac OS X,…

Continue Reading Getting Started with Arduino IDE

## Arduino Sketch: Structure and Flow

Introduction Arduino IDE is an open source software for writing code and uploading it to the Arduino board. It runs on different operating systems such as Windows, Mac OS X,…

Continue Reading Arduino Sketch: Structure and Flow

## Arduino IDE: Variables

Introduction A variable is used to store a value or an information so that we can refer or/and manipulate it at a later stage during the life of the Arduino sketch. Memory…

## Arduino IDE: Arithmetic Operators

Introduction Arduino IDE is capable doing basic arithmetic operations. Arduino has the following five arithmetic operators for basic mathematical operations: Addition The addition operator is used for adding two numbers.…

Continue Reading Arduino IDE: Arithmetic Operators

## Arduino IDE: Comparison or Relational Operator

Introduction A relational operator is an operator that tests a relation between two entities. The result of a relational operator is either true or false. In programming, true is represented…

Continue Reading Arduino IDE: Comparison or Relational Operator

## Arduino IDE: Boolean or Logical Operators

Introduction Logical operators evaluate either one or two relational or logical statements. There are 3 logical operators in Arduino IDE: Logic OR (||) Operator Structure (Statement 1) || (Statement2) The…

Continue Reading Arduino IDE: Boolean or Logical Operators

## Arduino IDE: Conditional(if-else-if) Statements

Introduction Conditional statements check whether a programmer-specified Boolean condition is true or false. They make it possible to test a variable against a value/compare a variable with another variable and…

Continue Reading Arduino IDE: Conditional(if-else-if) Statements

## Arduino IDE: Increment & Decrement Operator

Increment Operator The increment operator is an Arduino arithmetic operator that increments an integer variable by a value of one. This is useful in certain types of loops. Two possible structures…

Continue Reading Arduino IDE: Increment & Decrement Operator

## Arduino IDE: for Loop

Introduction A loop statement allows us to execute a statement or group of statements multiple times. Below is the general form of a loop statement in most programming languages :…

Continue Reading Arduino IDE: for Loop

## Arduino IDE: while Loop

Introduction While loops execute a statement, or a group of statements continuously, and infinitely, until the expression inside the parenthesis, () results in false. Something must change the tested variable…

Continue Reading Arduino IDE: while Loop