Course notes on communication (RS-232, in particular).
Handout of the Palm Pilot application code with which your EVB board will communicate.
You are provided with the skeleton of a program for the Palm Pilot that displays sonar and compass data received over the serial line.
The user interface provides four menu options and a button. All of the procedures are written (and tested) except for the EVBupdate function. This function is called whenever an event occurs, or when the user requests. It should check the serial line for data and update the screen accordingly. (Think of your screen as a sonar map.)
You must decide on and implement a serial communication protocol. Packets should always start with a framing byte. The format of the remainder of the packet is left up to you.
The code was developed using the MetroWerks CodeWarrior Palm Pilot Integrated Development Environment.
Downloads:
Modify the microcontroller program that controls the compass and sonar so that they can be read remotely.
Modify your microcontroller program so that it communicates with the Palm Pilot. You will need to conform to the serial communications protocol that you implemented in the Palm Pilot CSE477Lab3 application. You are able to use the two functions GetByte() and SendByte() to send and receive data over the second serial communication port on the microcontroller.