This shows you the differences between two versions of the page.
— |
arduino:data_types:byte [2024/02/16 01:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======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 ==== | ||
+ | |||
+ | * [[arduino:data types:Word]] | ||
+ | * [[arduino:data types:ByteCast | byte]] | ||
+ | * [[arduino:variable scope and qualifiers:VariableDeclaration|Variable Declaration]] | ||
+ | |||
+ | |||
+ | Source: arduino.cc | ||