How to interface this no nc c switch with arduino

Non-blocking timing tutorials:
Several things at a time.
Beginner's guide to millis().
Blink without delay().