Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

byte()

Examples
byte b = byte(260);
Description Converts a primitive datatype to its byte representation.
Syntax
byte(val)
Parameters
val int, long, float, char, byte or boolean
Returns byte
Usage Application
Related byte
int()
long()
float()
char()
boolean()
Updated on September 16, 2010 09:15:06pm PDT

Creative Commons License