dual screen tapper programming/code assistance?

Just spotted a bug in my program
Add

 currentPin++;

on the line before

  currentPin %= 2;

so now it reads

 currentPin++;
  currentPin %= 2;