Most recent first... Yesterday it occurred to me that I haven't ever played with servo motor control, despite having received one in my Sparkfun starter kit.
Since I'd just received a Wii Nunchuck breakout adapter from ThingM Labs, I figured I'd kill two birds with one stone and have a bash at controlling a servo with a nunchuck.
The circuit couldn't be much simpler, just connect the servo power to 0V, 5V and digital pin 9, and plug the breakout board (after soldering on a simple 4-pin header) into analogue pins A2-A5:
The code is pretty simple too - mashing together the standard 'Knob' sample, which allows control of a servo via an analogue potentiometer input, and simply pulling back the X-axis joystick value via ThingM's basic Nunchuck library. Oh, and I hooked up the Z button to the built-in LED on pin 13, for good measure.