Read the basics of computers.
The address stores one byte , or 8 bit , or another way zero to 255.
Val is a int which is 2 or 4 bytes , so to store the int you need more than one address.
Look at some i2c libraries and see how they cut the int up by moving the int up .
@peter_a: On the Particles (and other 32bit processors) int is four byte.
And while it is good to understand how to do the splitting up of multi-byte datatypes, it’s not required due to above functions.