Code on ultrasonic sensor side: detect distance between laptop and user every 2.5 s. If the user is present or not present for one minute (changeable), pass event to the other side to open/close the flower for a certain degree; keep monitoring button, when button is pushed, trigger event on the other side to light up the flower.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .