Added an example sketch that deals with the problems of the PIR sensor.