How do I write the code to "print" the resetting of my footage to "0"? the reset function works, but it is not reflecting on my serial print screen when the button is pushed.
Preformatted textint counter = 0;
int currentStateCLK;
int lastStateCLK;
String currentDir = "";
unsigned long lastButtonPress = 0;Preformatted text