ecto/duino — pull request #6 by richkzad (2012-02-25 06:02:42+00:00)
Title: Fix button down detection

I'm guessing du.ino was changed recently, because the button.js state 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.