EE 476: Laboratory 4

Serial control of TV graphics

Introduction.

You will produce a graphics system which takes graphics commands typed by a human on the PC keyboard and displays the resulting graphics on the TV. The commands will include points, lines and strings.


Procedure:

Serial connection to the PC:

Be sure to read the serial communication page. The serial port on the development board should be connected to COM2 of the PC. You should use a simple terminal program, such as Hyperterminal, on the PC connected to COM2. The terminal program should be set to 9600 baud, no parity, one stop bit, and no flow control. You can use either demo program as a test that the RS232 connnections and terminal program on the PC are correct. Connections to the PC assume a RS232 cable with straight-through connection. Remember that there is a jumper required on the development board to activate RS232 functions.


Assignment

Write a program in C and assembler for the microcontroller with these specifications:

When you demonstrate the program to a staff member, you should exercise all the graphics commands.

Your written lab report should include:


Copyright Cornell University Jan 2003