[MERGED] Using the same digitalRead pin for multiple times in different functions

This topic has been merged into Using the same digitalRead pin for multiple times.