Added a way to change the sleep for waiting for pin data to change.