Getting data from sensor, displaying it.