This example demonstrates how to configure re200b pir sensor in order to detect a motion and display information about it on LCD.
This module can be used with sam4s_wpir_rd board.
This example first configure LCD controller to display information and RE200B PIR sensor to detect motion. After that, microcontroller enter in sleep mode in order to reduce power consumption. A motion detection will trig ACC interrupt which will wake up microcontroller from sleep mode and display information on LCD. Finally microcontroller will go back to sleep mode waiting for another motion detection.