The purpose gain experience with loops, output, subroutines and making use of program memory for data.
In this lab, you will design, code, assemble, simulate, download and run a program. The program will configure the LEDs to display four different levels of brightness. Two of the brightness levels are on and off. The other two brightness levels will be achieved by quickly toggling the LEDs on and off. The higher the percentage of time that the light is on, the brighter it will appear.
Program Notes:
Once the requirements for the assignment have been met, you may wish to add additional features to your program. Some ideas:
Your program should be written prior to lab. On entering the room, submit a printout of your .lst.
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 .asm file 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 was developed by Dr. Chris Taylor.
© 2001-2007 Dr. Christopher C. Taylor | Office: L-343 | Phone: 277-7339 |