unsigned char big_motor; //Small vibration motor value of DualShock2 unsigned char small_motor; //Big vibration motor value of DualShock2 unsigned char DS2_data[17]; //Buffer to receive DualShock2's Data //Pin definition of Enbedded PsJoyCon #define SEL P3_2 #define CLK P3_3 #define RDY P3_4 //Data order of Enbedded PsJoyCon #define DS2_LX 0 #define DS2_LY 1 #define DS2_RX 2 #define DS2_RY 3 #define DS2_X 4 #define DS2_S 5 #define
Document
[ePSC] Example RS232 interface schematic
[ePSC] Example MCU interface schematic
[ePSC] Documents
Documents of ePSC http://www.exinterface.com/d/man/epsc/ePSC_schematic.pdf http://www.exinterface.com/d/man/epsc/ePSC_Code.pdf http://www.exinterface.com/d/man/epsc/ePSC_Code_eng.pdf http://www.exinterface.com/d/man/epsc/ePSC_RS232_schematic.pdf http://www.exinterface.com/d/man/epsc/ePSC2_UserGuide_Eng.pdf http://www.exinterface.com/d/man/epsc/ePSC2_UserGuide_Kor.pdf http://www.exinterface.com/d/man/epsc/ePSC2_UserGuide_Eng.pdf http://www.exinterface.com/d/man/epsc/ePSC2_UserGuide_Kor.pdf