TSL235R inconsistent output

Are you taking into account micros() overflow? It does not look like you are.