polling fix for lab 2 assessed

Fork of digitalInPolling_sample by William Marsh

no such method: tip