Language Reference (extended)

For consistency of Arduino programming style, the . byte. data type is to be preferred. Example. unsigned char myChar = 240; 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) int. Description. Integers are your primary datatype for number storage, and store a 2 byte value. This yields a range ... ................
................