Pages created and updated by Terry Sturtevant Date Posted: February 7, 2020

CP316: Microprocessor Systems and Interfacing

Ultrasonic distance sensors

PostLab

  1. Modify your code to using interrupts with low level access to use good coding practices.
  2. Identify which Arduino pins are used by the shield and sensor, and how that affects the functions available (timers, SPI, etc.) for other purposes.

Hand in a copy of the code along with the above answers 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.

Resources

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!

WCAG
2.0
(Level AA)

Wilfrid Laurier University