The Quadrature Encoder (SW102) is made of one mechanical button and two outputs. These outputs are connected to a mechanical switch (SW103), which enables to either connect them to the XMEGA pins or let them be accessible on the J3 header.
Pin on XMEGA | Pin on J3 header | Switch SW103 | Quadrature Encoder pins |
---|---|---|---|
PA5 1 | NA | NA | 5 (button) |
PA6 1 | NA | 2-1 (switch pushed down) | 1 (channel A) |
PA7 1 | NA | 5-4 (switch pushed down) | 3 (channel B) |
NA | PIN3 | 2-3 (switch pushed up) | 1 (channel A) |
NA | PIN4 | 5-6 (switch pushed up) | 3 (channel B) |
Signal also connected to header J2.