convert Hex result of sensor to integer value

byte reading[11];

This array is big enough for 11 readings, not 12.