[MERGED] need help in using while loop

This topic has been merged into Need help in using PIR sensor.