word

[Data Types]

Description

A word stores a 16-bit unsigned number, from 0 to 65535. Same as an unsigned short.

Syntax

word var = val;

Parameters

var: variable name.
val: the value to assign to that variable.

Example Code

word w = 10000;

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

Your email address will not be published. Required fields are marked *

上部へスクロール