You need to read the port in order to give the device a sample that it can use for later comparison.