Mr. Ndugu is using an HC-SR505 PIR motion sensor module in a lab project. Suggest to Mr.
Fantastic news! We've Found the answer you've been seeking!
Question:
Mr. Ndugu is using an HC-SR505 PIR motion sensor module in a lab project. Suggest to Mr. Ndugu a proper way to connect this sensor to the Open1768 development board (i.e. to which pins, etc …) and to configure the selected pins!
Write a c code and let us assume that Mr. Ndugu wants to detect a rising edge of a signal generated by the sensor over the pin P2.7 (Pin 7 of Port2). later change the c code lines in such a way that the LED0 &LED1 on the Open 1768 development board are switched ON while LED1 and LED2 are switched OFF if a rising edge is detected on pin P2.7
Related Book For
Managerial Accounting An Introduction to Concepts Methods and Uses
ISBN: 978-0324639766
10th Edition
Authors: Michael W. Maher, Clyde P. Stickney, Roman L. Weil
Posted Date: