I have made an application to view the output of the Honeywell HMC6343 3-Axis Compass with Algorithms.
The windows form allows you to view Heading, Pitch and Roll in a graphic user control of my creation.
Also, the winform application allows you to set and read all of the compass device registers.
The app uses two XBee's for serial communication between the windows form and the Fez.Spider.
The Spider communicates to the compass over I2C.
Be aware that I am no expert on using the HMC6343. The program is based upon what I 'THINK' is correct.
I word of caution: If you change the windows form design be sure you have a backup. The form uses panels over panels and it is very easy to screw it up. (I know from experience!) If you move the panel arrangement the layering will not work properly.
That said, change anything you want. There is no copyright on my code and I know of nothing in the code that will harm the compass.
Useage is the code provided.
Comments or questions? Discuss on the forum.