My First Viking Longship
Helm: Test Harness
Home
The Game

Water Craft

Helm

     Software
     Electronics
Communications

Gems of Wisdom
Media
Pseudocode helm.c helmstatemachine.c LED.c iButton.c Test harness

We utilized synchronous serial communications as a debugging tool to probe registers on the PIC. We linked the SSP module on the PIC to the SPI module on the E128 in order display information from the PIC by using the printf functionality of the E128. Our test harness also included the ability to send custom packets via the XBee, as well as receive and display packets from the XBee. In this fashion, we were able to develop incrementally, and debug each section independently.

The full collection of C files may be found here.