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

GEARS not recognize #5

Open
2caderbug opened this issue Mar 16, 2024 · 3 comments
Open

GEARS not recognize #5

2caderbug opened this issue Mar 16, 2024 · 3 comments

Comments

@2caderbug
Copy link

I have my shifter in gear neutral and it is getting recognize as gear 3. I changed the up and down values high and low but still wont fix.

@JRomainG
Copy link
Owner

Hi, thanks for the issue.

I have a couple questions before any suggestions:

  • Apart from the neutral gear, do all other gears work correctly?
  • How did you choose the high and low values to use? Using arbitrary values to see if it works better? Did you try the Test_Arduino_Shifter.ino script?

From the description your provide, I would indeed expect that the thresholds might not be accurate, but it could also be a wiring issue with one of the cables meaning the y value is incorrect

@2caderbug
Copy link
Author

I actually fixed that but after fixing it. My neutral gear is not being detected. All of my gears are correct except my natural gear

@JRomainG
Copy link
Owner

By default, switching to neutral does not register as a button (instead, in neutral, no button should be shown as pressed). If you want to change this behavior, you can set REGISTER_NEUTRAL to 1 in G29_Shifter.ino. The neutral gear should then register as button 0. Let me know if that helps!

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