/*          NeoTeam 2007        */
/*        www.NEOFLASH.com        */

INSTRUCTIONS FOR USING THE NEO PSP MOTION KIT

NOTE: the functions listed here are from the pspsdk, available from http://ps2dev.org.

First, the serial port must be initialized
This turns on power to the serial port and initializes all the proper hardware registers
	pspDebugSioInit();

Next, set the serial port to the correct baud rate
	pspDebugSioSetBaud(510416);

Now, the X, Y, and Z accelerations can be read
	pspDebugSioPutchar(0x31); // this is the command to retrieve X acceleration
	Xaccel = pspDebugSioWaitGetchar(); // read X acceleration (this function is in main.c)
	pspDebugSioPutchar(0x32); // this is the command to retrieve Y acceleration
	Yaccel = pspDebugSioWaitGetchar(); // read Y acceleration (this function is in main.c)
	pspDebugSioPutchar(0x33); // this is the command to retrieve Z acceleration
	Zaccel = pspDebugSioWaitGetchar(); // read Z acceleration (this function is in main.c)
	
-----------   NeoTeam 2007    -----------
---------   www.NEOFLASH.com   ----------

