Hi, I am new to Programming, I am trying to Interface a PIR sensor with samd21, may i know how can i receive signal from PIR sensor and turn LED On/Off when motion is detected, and the Pin Configurations , As of now i am connecting the Vcc pin to Vcc of D21, GNd to GND and the output pin to GPIO PB04, can any one help me code. Thanks In Advance...