Changing DrumKit Sketch to Only Read One Hit at a Time

Sorry I missed out a

pin++;

From that.
It goes just before the closing brace of the while statement.