Mr. Ndugu is using a HC-SR505 PIR motion sensor module in a labproject. Please suggest Mr. Ndugu a proper way to connect thissensor to the Open1768 development board (i.e. to which pins, etc…) and to configure the selected pins! (4 points) Write a c codeand let us assume that Mr. Ndugu wants to detect a rising edge of asignal generated by the sensor over the pin P2.7 (Pin 7 of Port2)(6points). later change the c code lines in such a way tat the LED0&LED1 on the Open 1768 development board are switched ON whileLED1 and LED2 are switched OFF if a rising edge is detected on pinP2.7(5points)