Question: B8. Write an Arduino program that collects digital inputs from pins 6 and 8, and sends digital output the exclusive or of the two inputs

 B8. Write an Arduino program that collects digital inputs from pins

B8. Write an Arduino program that collects digital inputs from pins 6 and 8, and sends digital output the exclusive or of the two inputs to pin 10. (8 marks) Scenario-based questions: In a school, the school master invites an IoT consultancy company to design and develop a smart school application. The smart school application has the following functionalities: i. to provide the energy saving function in classrooms such that if there are no students inside the classrooms, the lighting and air-conditioning system will turn off ii. to provide the fire alert function in classrooms such that if there are fire inside the classrooms, there will be an alert of alarm and acknowledge to the school administrators with SMS iii. to provide the heavy raining protection function for school such that if there is heavy raining, the water-avoidance gates will be closed to prevent the flood

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!