solution

In a house having five bed rooms, a kitchen, a drawing room and a dining room, the lighting system is to be made automatic in the following way. 1800 HRS……….One light each in drawing and dining room is switched on. 1900 HRS……….One light in each of five bed rooms is switched on. 2000 HRS……….Kitchen light is switched on. 2100 HRS……….Kitchen light is switched off. 2200 HRS……….Drawing room and dining room lights are switched off. 2300 HRS……….Main lights in all rooms are switched off. ………………………………Night lights in all rooms are switched on. 0600 HRS……….Night lights are switched off. Consider that each light is represented through a port pin. Develop the software for the application.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!