zeus2kx:
I guess you meant to follow this hookup guide.
No, because I don't know that tutorial/hookup guide.
Without looking at the code, do you also have a Schmitt interrupts in the code?
A Schmitt trigger is a piece of hardware. Actually it may be unnecessary to add one, as the Arduino's pins supposedly are Schmitt triggers as well.