Question: MICROCONTROLLER Write a program that reads byte input port T every 5 milliseconds. Check if there is any input change. If there is change, send
MICROCONTROLLER
Write a program that reads byte input port T every 5 milliseconds. Check if there is any input change. If there is change, send $AA to port S; otherwise, send $BB to port S. Repeat forever. Test your program in the lab. (10 pts) Assume the following: 8-MHz crystal frequency conditional branches 3/1 clocks incrementing/decrementing register: 1 loading values into an index register: 2 ignore other instruction cycles.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
