User manual
Code Mercenaries
4
JJ
JJ
oo
oo
yy
yy
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
4.0 Pin Descriptions JoyWarrior24 GP 32
* See application circuit for external circuitry.
4.1 Pin Descriptions JoyWarrior24 A 8-8
* See application circuit for external circuitry.
Name
I/O
Type
Pins
Description
D+, D-
X0/B0, X1/B1,
X2/B2, X3/B3,
X4/B4, X5/B5,
X6/B6, X7/B7
I/O
I
special
input, internal pull up
16,15
1, 2, 3, 4, 24, 23, 22,
21
USB differential data lines
Button row inputs, active low for matrix mode,
direct button inputs 0..7 for direct connection, active
low
Y0/B8, Y1/B9,
Y2/B10, Y3/
B11
Right
Left
Down
I or O
I
output, open drain, or
input, internal pull up
input, internal pull up
I
I
input, internal pull up
input, internal pull up
7, 18, 8, 17
5
Button column outputs, periodically pulled low for
matrix mode, direct button inputs 8..11 for direction
connection mode, active low
Input for right direction switch, active low
20
6
Input for left direction switch, active low
Input for down direction switch, active low
Up
VREG
PullToGND
GND
I
O
input, internal pull up
special *
I
power supply
Vcc
Direct
NC
I
power supply
input, internal pull
down
unused
19
11
Input for up direction switch, active low
Power for USB D- pull up resistor
10
9
Used during manufacturing, connect to GND
Ground
14
12
Supply voltage
Pull high to enable 12 direct connected buttons
instead of 4x8 matrix
13
Do not connect
Name
I/O
Type
Pins
Description
D+, D-
B0, B1, B2,
B3, B4, B5.
B6, B7
I/O
I
special
input, internal pull up
16,15
5, 20, 6, 19, 7, 18, 8,
17
USB differential data lines
Button inputs, active low
A0, A1
XR1, XR2
YR1, YR2
ZR1, ZR2
I/O
O
special *
special *
O
O
special *
special *
1, 2
3, 4
Connect center taps of pots here
Connections for X pot
24, 23
22, 21
Connections for Y pot
Connections for Z pot
VREG
PullToGND
GND
Vcc
O
I
special *
power supply
power supply
RAW
NC
I
input, internal pull
down
unused
11
10
Power for USB D- pull up resistor
Used during manufacturing, connect to GND
9
14
Ground
Supply voltage
12
13
Pull to Vcc to disable auto calibration and centering
Do not connect
V 1.1.0, July 1st 2010 for Chip Revision V1.0.4.0 and up