Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller works only with slow speed #18

Open
luxarts opened this issue Mar 5, 2019 · 1 comment
Open

Controller works only with slow speed #18

luxarts opened this issue Mar 5, 2019 · 1 comment

Comments

@luxarts
Copy link

luxarts commented Mar 5, 2019

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

@leesei
Copy link

leesei commented Jul 10, 2019

Duplicate of #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants