Adapt a Wii Nunchuck to work with Arduino and Processing