Volansys interview question

Write a program to read sensor value every 10 second