Introduction

Arduino IDE is capable doing some basic arithmetic operations. Arduino have five operators for basic mathematical operations:

  1. Addition: +
  2. Subtraction: –
  3. Multiplication: *
  4. Division: /
  5. Remainder: %

Addition

Addition operator is used for adding two numbers. Here is an example: