Added a delay option before the program starts reading motion sensor values.