aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/arduino/byte.rst
blob: 5e94bd46df9842285c6bd0672c01ddeee88851ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.. _arduino-byte:

byte
====

Description
-----------

A byte stores an 8-bit unsigned number, from 0 to 255.



Example
-------

::

        byte b = B10010;  // "B" is the binary formatter (B10010 = 18 decimal) 



See also
--------


-  `word <http://arduino.cc/en/Reference/Word>`_
-  `byte <http://arduino.cc/en/Reference/ByteCast>`_\ ()
-  `Variable Declaration <http://arduino.cc/en/Reference/VariableDeclaration>`_