- Hi, according to the book, how to include 5 motion detector, and make them work individually not all together.
1 Answers
Hi.
You need to create an interrupt routine for each motion sensor. Each motion sensor should call a specific callback function.
I never tried setting up more than one interrupt, so I’m not sure if that will crash something. You have to try it out.
Let me know if you need further help.
Regards,
Sara