We decided we wanted movement to be the determinant of occupancy at our table. Therefore, we decided on our sensor to be motion activated. In our situation, our pseudo-code represented how we wanted the LEDs on our table to change color based on occupancy of a table, so in this sense, whether or not the motion sensor was activated. Our code is based on a situation where no movement indicates the table is available, but once a space is occupied, the light will change color to indicate this, via the motion sensor, then the user has the ability to push a button to change the color again to express their seating preference (okay to talk vs. join me but don't talk)
No comments:
Post a Comment