When the switch state changes to pushed, make previousMilliis = millis().
When the switch state changes to not pushed, print millis() - previousMillis.
.
When the switch state changes to pushed, make previousMilliis = millis().
When the switch state changes to not pushed, print millis() - previousMillis.
.