[Data Types]


short is a 16-bit data-type.

On the 86Duino, a short stores a 16-bit (2-byte) value. This yields a range of -32,768 to 32,767 (minimum value of -2^15 and a maximum value of (2^15) – 1).

Example Code

short ledPin = 13;


short var = val;

var – your short variable name
val – the value you assign to that variable

See also

Language Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Scroll to Top