lineman2208:
So google says that byte, and unsigned char are the same as uint8_t. So why use it at all?
Because it guarantees the bit length, whereas unsigned char does not, and byte (I believe) is defined in Arduino.h. It is done in the name of portability.