Y
Hacker News
new
|
ask
|
show
|
jobs
by
snitty
885 days ago
Were you checking to see if the button state changed between reads? Or were you reading a 1 as "down" regardless of whether the previous read was "up"?