The purpose of this lab is to gain some experience with input, output, and subroutine calls.
In this lab, you will design, code, assemble, simulate, download and run a program. The program is similar to last week's assignment in that it will cause the LEDs to flash to the left or right. This week your program must exihibit the following behavior:
Program Notes:
Write a delay loop subroutine that has a duration of exactly 0.25 seconds. You should include the time required to call and return from the loop in the 0.25 seconds. Your paper submission should include your timing calculations in addition to your code listing.
You must demonstrate your program working on your board and use the oscilloscope to show that your delay loop duration is accurate.
You should submit the .lst for your program using the online submission form.
In addtion, you must log the time you spent on this assignment (including the pre-laboratory activity) in FAST.
This assignment is based on a similar assignment developed by Prof. William Barnekow.
© 2001-2007 Dr. Christopher C. Taylor | Office: L-343 | Phone: 277-7339 |