TCS3200 arduino uno R3 pulsein returns 0

Because it timed out after 1 second.