Question: (25 points) Write a 68HC11 assembly language program that uses the HC1I ADC (Analog-to-Digital Converter) to: Read - continuously- analog inputs from channels 4, 5,
(25 points) Write a 68HC11 assembly language program that uses the HC1I ADC (Analog-to-Digital Converter) to: Read - continuously- analog inputs from channels 4, 5, 6,7 and Outputs (writes) consecutively - after a time delay of 0.6 ms (millisecond)- each of the digitized input values to Port In other words, the digitized input value from channel 4 is written to Port C first, then after a time delay of 0.6 ms the digitized input value from channel 5 is written to Port C, then after another time delay of 0.6 ms the digitized input value from channel 6 is written to Port C, etc. Assume that the 68HC11 is operating at l MHz. You have to implement the time delay as a subroutine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
