Pages created and updated by Terry Sturtevant Date Posted: February 5, 2018

CP316: Microprocessor Systems and Interfacing

Flashing LEDs using Delays


  1. Expand the configuration line for ADCON1 according to tip 2 of assembly language programming tips to clarify what is happening during the configuration.
  2. Make sure all of the TRISA, PORTA, and LATA accesses follow good programming practices to make the code easier to read and maintain.
  3. Paste this in your lab notebook. (You don't have to paste in the sections that are unchanged; only show the changes.)

Hand in a copy of the code with the coding style checklist at the next lab.

Creative Commons License

Information on this site which is produced by Terry Sturtevant is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License.


To view pdf documents, you can download Adobe Acrobat Reader .
get Acrobat Reader
If you need to update a browser, you might try Firefox which is Get Firefox!
Since this page uses cascading style sheets for its layout, it will look best with a browser which supports the specifications as fully as possible.

If you are looking for an office package, with a word processor, spreadsheet, etc., you might try LibreOffice which is Get LibreOffice!

Go to the main page for the Department of Physics and Computer Science.

Valid XHTML 1.1

Valid CSS!

(Level AA)

Wilfrid Laurier University