Accelerometer reading

The two values are not summed, that | is a bitwise OR, see also this tutorial.