JoystickPLATFORM

The JoystickPLATFORM make working with the PS2 style joystick easy. Just solder it into place, choose some input / output pins and then using ReadADC commands in your program you will be able to see the position of your joystick on the X and Y axis.

Demo Video

Kit Includes:

 

Example Code:

'SYMBOL P1	= +V		SYMBOL P20 = 0V
'SYMBOL P2	= SerialIn	SYMBOL P19= SerialOut
 SYMBOL P3	= C.7		SYMBOL P18 = B.0
 SYMBOL PUSH= pinC.6	SYMBOL P17 = B.1
 SYMBOL P5	= C.5		SYMBOL VPOT= B.2
 SYMBOL P6	= C.4		SYMBOL P15 = B.3
 SYMBOL P7	= C.3		SYMBOL HPOT= B.4
 SYMBOL P8	= C.2		SYMBOL P13 = B.5
 SYMBOL P9	= C.1		SYMBOL P12 = B.6
 SYMBOL P10	= C.0		SYMBOL P11 = B.7
 
 
SYMBOL Vmem = b0
SYMBOL Hmem = b1
 
main:
 
	ReadADC HPOT, Hmem
	ReadADC VPOT, Vmem 
 
	debug
 
	pause 100
 
	goto main
Order JoystickPLATFORM