arduino FHT

data[0] = k;

All of your measurements are being stored in data[0]. Use an index instead of 0.