QUESTION 2 (8) Write a program in C or Assembly language which will indicate the number of cars driving past a point in

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 2 (8) Write a program in C or Assembly language which will indicate the number of cars driving past a point in

Post by answerhappygod »

Question 2 8 Write A Program In C Or Assembly Language Which Will Indicate The Number Of Cars Driving Past A Point In 1
Question 2 8 Write A Program In C Or Assembly Language Which Will Indicate The Number Of Cars Driving Past A Point In 1 (41.97 KiB) Viewed 68 times
QUESTION 2 (8) Write a program in C or Assembly language which will indicate the number of cars driving past a point in 1 hour. At the end of each hour, the number of cars should be sent to an LCD display. Use a function called "void LCD Display(unsigned int CarCount)" You do not need to write the function. The display should only be updated every hour, meaning that a new count will the Initiated again. A sensor connected to P3.4 (Counter O input) will produce a complete pulse every time a car passes the sensing point. Activate Counter 0 in 16-bit mode. Use timer 1 in 16-bit timer mode to generate the time delay.Use a 50 ms delay before roll over. Use interrupts. Assume that the maximum cars passing the sensingpoint in an hour will be 4000. The crystal frequency is 12 MHz.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply