added joystick example

I'm not sure if we need another ADC example, but here is some code for the joystick.