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

Fix button down detection #6

Merged
merged 1 commit into from
Mar 2, 2012
Merged

Fix button down detection #6

merged 1 commit into from
Mar 2, 2012

Commits on Feb 25, 2012

  1. Outdated button down detection

    I'm guessing du.ino was changed recently, because this button detection logic was wrong in two different ways:
    - m[1] is actually a 2 character string, so comparing it to '0' and '1' will always fail
    - it had the values for up and down reversed.
    
    It makes sense that 1 be down and 0 be up, but I'm not sure where you want the fix for the two character value.
    richkzad committed Feb 25, 2012
    Configuration menu
    Copy the full SHA
    d2eb7af View commit details
    Browse the repository at this point in the history