You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I tried this library several times. The wiring was perfect. I'm using an Arduino Mega, tested the pins with a simple sketch to check if the Arduino was fault and everything worked fine. Tried 2 different PS2 controllers (a Sony's original and a clone) and both failed. I enabled the debug and the serial port throw "Expected 0x41 or 0x73, got 1". I disabled the internal pull-up and attached an external one (10k to 3.3v) without luck. But when I changed the speed (CTRL_CLK in PS2X_lib.h) from 4 to 20 it worked perfectly. I tried higher speeds (lower numbers) but doesn't work.
Probably this is not a bug from the library but wanted to share with you and other people with the same problem. Will be nice if you change the default value to a higher number and then the users lower it so the library will work for all without modification.
Regards,
Lucas
The text was updated successfully, but these errors were encountered:
Hello! I tried this library several times. The wiring was perfect. I'm using an Arduino Mega, tested the pins with a simple sketch to check if the Arduino was fault and everything worked fine. Tried 2 different PS2 controllers (a Sony's original and a clone) and both failed. I enabled the debug and the serial port throw "Expected 0x41 or 0x73, got 1". I disabled the internal pull-up and attached an external one (10k to 3.3v) without luck. But when I changed the speed (
CTRL_CLK
in PS2X_lib.h) from 4 to 20 it worked perfectly. I tried higher speeds (lower numbers) but doesn't work.Probably this is not a bug from the library but wanted to share with you and other people with the same problem. Will be nice if you change the default value to a higher number and then the users lower it so the library will work for all without modification.
Regards,
Lucas
The text was updated successfully, but these errors were encountered: