Lab 2, sample 1: polling example

Fork of digitalInPolling_sample by William Marsh