Reference for Wiring version 0024+. 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 November 01, 2009 12:19:59pm PST

Creative Commons License