Improvements to wii nunchuck data interpretation

Hey Folks,
I made some improvements to interpreting the data coming off the wii nunchuck. Some inverse trig (thanks to avr/math.h) allows more accurate angles, and full 360 roll data. This maybe has been done, but I couldn’t find it anywhere.

demo movie (rotation cube in processing), and links to code here:

-Tim