made sensor values average over 3 readings