reads sensor data continuously