Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name | byte() |
||
---|---|---|---|
Examples | byte b = byte(260); // equivalent to the cast operator byte b = (byte) 260; |
||
Description | Converts a primitive datatype to its byte representation. This equivalent to the cast operator (byte). | ||
Syntax | byte(val) (byte) val |
||
Parameters |
|
||
Returns | byte | ||
Usage | Application | ||
Related | byte int() long() float() char() |