Arduino Programming Language: Short

Name

short

Description

Datatype 'short' occupies two byte(16 bit)and it stores an integer number between -32768 to 32767.

Syntax

shortvar
short var = value

Parameters

  • var: variable name
  • value: any integer number between -32768 to 32767

Usage

Application

Examples

short pinIn= 3;


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc