|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Design a revolving bank door with infra red sensors and a stepper motor
If the beam is broken the door must turn in one direction to allow access to the bank. If the other beam is broken the door must turn in the opposite direction(obviously only when there is somebody inside). When the beams are broken, prompt the user for a Name and Surname. Save this information in a structure called Person.
The GUI shold display the system time and number of people in the bank. A log file shold be kept. This file contains the Time In an Out as well as the name and surname of the person
If somebody tries to access the system between 5pm and 8:30am an alarm must sound and an appropriate message should be displayed on the screen (hint: time. h)
Thanks so much! |
|