AVR Atmega library for Wii Nunchuck
Nunchuck is a wii 2-axis joystick, two buttons and a 3 axis 2g accelerometer,
capable of I2C can communicate with it.
User can enable a avarage filter on accelerometer measurements.
An attitude (roll and pitch) estimation function can be enabled.
Calibration is suggested to get more accurate parameters.
To calibrate the device read the raw values using the get non calibrated mode
then calculate the offset.
This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 1MHz.
- 02: fixed attitude estimation
- 01: first release
- read risk disclaimer
- excuse my bad english