int

Description

Integers are your primary datatype for number storage, and store a 2 byte value. This gives you a range of -32,768 to 32,767 (minimum value of -2^15 and a maximum value of 2^15 - 1).

Example

    int ledPin = 13;

Parameters

    int var = val;

  • var - your int variable name
  • val - the value you assign to that variable

Reference Home