Please explain this (nunchuck) code to me

Now I understand the code, but I run into something that might be a problem.

I am working on a rather time sensitive program. I am generating ppm stream for r/c transmitter. All is running fine as long as I don't use the code mentioned in the first post of this thread. All frames are almost as long as I want them, there are only a few microseconds differences between frames.

As soon as I use the mentioned code, the differences between time frames are so much that the generated stream is not recognized anymore by my transmitter. This is WITH the Nunchuck itself connected. When I remove the Nunchuck adapter it seems that all is back working normally.

I am NOT yet using any code to read from the Nunchuck, I am just powering it.

Is it better to power my Nunchuck from +5V on the Arduino or should I share ground of Nunchuck on pin 16 with GND on Arduino?

Any ideas are appreciated!