Interfacing PIR sensor with SAMD21/L21

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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...