Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Audit Renaissance

Authors: Vakils

1st Edition

8184621639, 978-8184621631

More Books

Students also viewed these Accounting questions

Question

what is source bias, ideological bias and confirmation bias

Answered: 1 week ago