aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/bytecast.rst
blob: 71ab4aa7015ef24fbc89addcd38321a294b050bd (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
30
31
32
33
34
35
36
37
38
39
40
41
.. _arduino-bytecast:

byte()
======

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

Converts a value to the
`byte <http://arduino.cc/en/Reference/Byte>`_ data type.



Syntax
------

byte(x)



Parameters
----------

x: a value of any type



Returns
-------

byte



See also
--------


-  `byte <http://arduino.cc/en/Reference/Byte>`_