@Jimmie, and “integer” in Particle devices is expressed as a 4 byte/ 32bit value as opposed to the typical Arduino 2 byte / 16bit representation. For you highByte/lowByte to work, you will need to define a 16bit integer or using int16_t or short int. The target board needs to have the same representation. Then, to reconstitute your integer, you simply need to reconstruct the high and low bytes with:
short int value = highByte << 8 + lowByte; // the <<8 is a bit shift which is the same as a multiply by 256