Arduino-PS2X
Arduino-PS2X copied to clipboard
Ps2 Clone Controller Giving The Error Unknown Controller Type
I made the connection just as in the description of the library and uploaded the Example code onto an Arduino Uno, but i keep Error 1 which says
No controller found, check wiring
Unknown Controller type
I tried 5v and 3.3v, still nothing.
Assuming you have the controller connected correctly, try and run this line twice with a small delay added.
error = ps2x.config_gamepad(PS2_CLK, PS2_CMD, PS2_SEL, PS2_DAT, pressures, rumble);
This has helped me in the past but there are a lot of issues you could be running into.