Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q.2) (C question) A personnel time and attendance system is designed with 8051. An internal clock will be obtain with 8051 timer in order determine
Q.2) (C question) A personnel time and attendance system is designed with 8051. An internal clock will be obtain with 8051 timer in order determine arrival and departure time. Hour and minute values will be stored in two variables. When a personnel insert the its card into the reader, the external interrupt-0 will be generated and its number will be read from the P2 (Numbers 0-255). The arrival time of each personnel will be stored as hour and minute. When the manager sends the personnel number via the serial port, the arrival time of the corresponding personnel will be sent back via the serial port as hour and minute. Write the required C program. (8-bit UART mode, Baud Rate: 4800, Crystal Frequency:12MHz). Q.2) (C question) A personnel time and attendance system is designed with 8051. An internal clock will be obtain with 8051 timer in order determine arrival and departure time. Hour and minute values will be stored in two variables. When a personnel insert the its card into the reader, the external interrupt-0 will be generated and its number will be read from the P2 (Numbers 0-255). The arrival time of each personnel will be stored as hour and minute. When the manager sends the personnel number via the serial port, the arrival time of the corresponding personnel will be sent back via the serial port as hour and minute. Write the required C program. (8-bit UART mode, Baud Rate: 4800, Crystal Frequency:12MHz)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started