Joystick

The AVR Butterfly has a miniature joystick for input from user. It operates in five directions, including centre-push. The common line of all directions is GND. This means that internal pull-up must be enabled on the ATmega169 to detect the input from the joystick.

Figure 1. Joystick schematic