Implemented polling code to check button press and change speed of button flashing.

Fork of digitalInPolling_sample by William Marsh

mbed-os.lib/shortlog/shortlog@cd1fe8c29793: not found in manifest