ebook: Implementation; Products, Robotics, and Other Useful Things
   



TOC PREV NEXT

2.7 Lab - ASCII I/O


2.7.1 Theory

2.7.2 Procedure

1. Review Pardue chapters 4-6. Enter the sample programs and ensure that they operate as expected.

2. Write a program that will interact with a user using a serial data ports. Bits 0-3 of the port will be outputs to LEDs and bits 4-7 will be input bits. The program should allow users to set output bits using 'Sn', where n is the output bit. The user should be able to read input bits using 'Rn' where n is the input bit.

TOC PREV NEXT

Search for More:

Custom Search