Convert two bytes into a 16-bit word.
int createWord(int lowByte, int highByte) => (highByte << 8) + lowByte;