-
Notifications
You must be signed in to change notification settings - Fork 219
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
ps2 button problem #10
Comments
I assume you are saying that when you press one button, the software reports another button has also been pressed. We have seen this behavior when using an off brand controller wired into an Arduino. It looks like there is some noise during communication. We don't see any error detection information in the data, so you would have to filter the data in software or do something to resolve the presumed noise problem. We saw some patterns in the incorrect packets received by an Arduino. Here are some things that could be done to prevent this. Band-aid - Filter packet in the software: Permanent fix in the hardware: Good Luck! |
I had a very similar problem when using an Arduino mega instead of an Uno (yes, I was using a cheap controller). I solved this problem by adding a delay of 10ms in the |
while upload this code,
when i press one button then it will print two button
The text was updated successfully, but these errors were encountered: